stator
A math, geometry, and utility library
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
sym::detail::Divide Struct Reference

#include <binary_ops.hpp>

Public Types

typedef NoIdentity left_identity
 
typedef Null left_zero
 
typedef Unity right_identity
 
typedef NoIdentity right_zero
 

Static Public Member Functions

template<class L , class R >
static auto apply (const L &l, const R &r) -> STATOR_AUTORETURN(l/r)
 
static std::string repr ()
 

Static Public Attributes

static constexpr bool associative = false
 
static constexpr auto associativity = Associativity::LEFT
 
static constexpr bool commutative = false
 
static constexpr int leftBindingPower = 30
 

Detailed Description

Definition at line 149 of file binary_ops.hpp.

Member Typedef Documentation

◆ left_identity

Definition at line 154 of file binary_ops.hpp.

◆ left_zero

Definition at line 156 of file binary_ops.hpp.

◆ right_identity

Definition at line 155 of file binary_ops.hpp.

◆ right_zero

Definition at line 157 of file binary_ops.hpp.

Member Function Documentation

◆ apply()

template<class L , class R >
static auto sym::detail::Divide::apply ( const L &  l,
const R &  r 
) -> STATOR_AUTORETURN(l/r)
static

◆ repr()

static std::string sym::detail::Divide::repr ( )
inlinestatic

Definition at line 158 of file binary_ops.hpp.

Member Data Documentation

◆ associative

constexpr bool sym::detail::Divide::associative = false
static

Definition at line 153 of file binary_ops.hpp.

◆ associativity

constexpr auto sym::detail::Divide::associativity = Associativity::LEFT
static

Definition at line 151 of file binary_ops.hpp.

◆ commutative

constexpr bool sym::detail::Divide::commutative = false
static

Definition at line 152 of file binary_ops.hpp.

◆ leftBindingPower

constexpr int sym::detail::Divide::leftBindingPower = 30
static

Definition at line 150 of file binary_ops.hpp.


The documentation for this struct was generated from the following file: