muu::strong_typedef_traits namespace

CRTP-based 'mixin' traits for strong typedefs.

Typedefs

using addable = /* ... */
Imbues a muu::strong_typedef with addition operators (x + x, +x)
using boolean = /* ... */
Imbues a muu::strong_typedef with explicit boolean conversion and unary logical not operator.
using callable = /* ... */
Imbues a muu::strong_typedef with function-call operator overloads (x()).
using comparable = /* ... */
Imbues a muu::strong_typedef with comparison operators (==, !=, <, <=, >, >=).
using decrementable = /* ... */
Imbues a muu::strong_typedef with pre- and post-decrement operators (--).
using incrementable = /* ... */
Imbues a muu::strong_typedef with pre- and post-increment operators (++).
using pointer_arithmetic = /* ... */
Imbues a muu::strong_typedef with pointer arithmetic operators.
using subtractable = /* ... */
Imbues a muu::strong_typedef with subtraction operators (x - x, -x)

Typedef documentation

using muu::strong_typedef_traits::addable = /* ... */

Imbues a muu::strong_typedef with addition operators (x + x, +x)

using muu::strong_typedef_traits::boolean = /* ... */

Imbues a muu::strong_typedef with explicit boolean conversion and unary logical not operator.

using muu::strong_typedef_traits::callable = /* ... */

Imbues a muu::strong_typedef with function-call operator overloads (x()).

using muu::strong_typedef_traits::comparable = /* ... */

Imbues a muu::strong_typedef with comparison operators (==, !=, <, <=, >, >=).

using muu::strong_typedef_traits::decrementable = /* ... */

Imbues a muu::strong_typedef with pre- and post-decrement operators (--).

using muu::strong_typedef_traits::incrementable = /* ... */

Imbues a muu::strong_typedef with pre- and post-increment operators (++).

using muu::strong_typedef_traits::pointer_arithmetic = /* ... */

Imbues a muu::strong_typedef with pointer arithmetic operators.

using muu::strong_typedef_traits::subtractable = /* ... */

Imbues a muu::strong_typedef with subtraction operators (x - x, -x)