• Home
  • Raw
  • Download

Lines Matching refs:b

181 …ype operator|(etype a, etype b) { return (etype)(std::underlying_type<etype>::type(a) | std::under…
182 …pe &operator|=(etype &a, etype b) { a = (etype)(std::underlying_type<etype>::type(a) | std::underl…
183 …ype operator&(etype a, etype b) { return (etype)(std::underlying_type<etype>::type(a) & std::under…
184 …pe &operator&=(etype &a, etype b) { a = (etype)(std::underlying_type<etype>::type(a) & std::underl…
185 …ype operator^(etype a, etype b) { return (etype)(std::underlying_type<etype>::type(a) ^ std::under…
186 …pe &operator^=(etype &a, etype b) { a = (etype)(std::underlying_type<etype>::type(a) ^ std::underl…
385 inline constexpr c2_cntr_t<T> operator+(const U &a, const c2_cntr_t<T> &b) {
386 return b + a;
390 inline constexpr c2_cntr_t<T> operator-(const U &a, const c2_cntr_t<T> &b) {
391 return c2_cntr_t<T>(a) - b;
395 inline constexpr c2_cntr_t<T> operator*(const U &a, const c2_cntr_t<T> &b) {
396 return b * a;
457 inline constexpr typename c2_types<T, U>::wide_type c2_max(const T a, const U b) {
459 return ({ wide_type a_(a), b_(b); a_ > b_ ? a_ : b_; });
474 constexpr typename c2_types<T, U, V...>::wide_type c2_max(const T a, const U b, const V ... c) {
476 return ({ wide_type a_(a), b_(c2_max(b, c...)); a_ > b_ ? a_ : b_; });
483 inline constexpr typename c2_types<T, U>::min_type c2_min(const T a, const U b) {
486 wide_type a_(a), b_(b);
503 constexpr typename c2_types<T, U, V...>::min_type c2_min(const T a, const U b, const V ... c) {
507 wide_type a_(a), b_(c2_min(b, c...));
516 inline constexpr typename c2_types<T, V>::wide_type c2_clamp(const T a, const U b, const V c) {
519 wide_type a_(a), b_(b), c_(c);