Home
last modified time | relevance | path

Searched defs:custom_int (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/spirit/test/x3/
Dextract_int.cpp20 struct custom_int struct
23 constexpr custom_int(int value) : value_{value} {} in custom_int() argument
25 custom_int operator+(custom_int x) const { return value_ + x.value_; } in operator +() argument
26 custom_int operator-(custom_int x) const { return value_ - x.value_; } in operator -() argument
27 custom_int operator*(custom_int x) const { return value_ * x.value_; } in operator *() argument
28 custom_int operator/(custom_int x) const { return value_ / x.value_; } in operator /() argument
30 custom_int& operator+=(custom_int x) { value_ += x.value_; return *this; } in operator +=() argument
31 custom_int& operator-=(custom_int x) { value_ -= x.value_; return *this; } in operator -=() argument
32 custom_int& operator*=(custom_int x) { value_ *= x.value_; return *this; } in operator *=() argument
33 custom_int& operator/=(custom_int x) { value_ /= x.value_; return *this; } in operator /=() argument
[all …]
Dint.hpp48 struct custom_int struct
51 custom_int() : n(0) {} in custom_int() argument
52 explicit custom_int(int n_) : n(n_) {} in custom_int() function
53 custom_int& operator=(int n_) { n = n_; return *this; } in operator =() argument
/third_party/boost/libs/spirit/test/qi/
Dextract_int.cpp21 struct custom_int struct
23 BOOST_DEFAULTED_FUNCTION(custom_int(), {}) in custom_int() function
26 custom_int operator+(custom_int x) const { return value_ + x.value_; } in operator +() argument
27 custom_int operator-(custom_int x) const { return value_ - x.value_; } in operator -() argument
28 custom_int operator*(custom_int x) const { return value_ * x.value_; } in operator *() argument
29 custom_int operator/(custom_int x) const { return value_ / x.value_; } in operator /() argument
31 custom_int& operator+=(custom_int x) { value_ += x.value_; return *this; } in operator +=() argument
32 custom_int& operator-=(custom_int x) { value_ -= x.value_; return *this; } in operator -=() argument
33 custom_int& operator*=(custom_int x) { value_ *= x.value_; return *this; } in operator *=() argument
34 custom_int& operator/=(custom_int x) { value_ /= x.value_; return *this; } in operator /=() argument
[all …]
Dint.hpp67 struct custom_int struct
70 custom_int() : n(0) {} in custom_int() argument
71 explicit custom_int(int n_) : n(n_) {} in custom_int() function
72 custom_int& operator=(int n_) { n = n_; return *this; } in operator =() argument
/third_party/boost/libs/geometry/test/test_geometries/
Dall_custom_polygon.hpp34 custom_int_type& custom_int() { return m_int; } in custom_int() function in all_custom_polygon
37 custom_int_type const& custom_int() const { return m_int; } in custom_int() function in all_custom_polygon