Calico
|
CRTP base type for constructing Lens
types.
More...
#include <lens.hpp>
Public Types | |
typedef T | value_type |
The value type of the lens. | |
Public Member Functions | |
Lens & | operator%= (const value_type &x) |
Modulo assignment through the lens. | |
Lens & | operator&= (const value_type &x) |
Bitwise AND assignment through the lens. | |
Lens & | operator*= (const value_type &x) |
Multiplication assignment through the lens. | |
Lens & | operator++ () |
Pre-increments through the lens. | |
Lens & | operator+= (const value_type &x) |
Addition assignment through the lens. | |
Lens & | operator-- () |
Pre-decrements through the lens. | |
Lens & | operator-= (const value_type &x) |
Subtraction assignment through the lens. | |
Lens & | operator/= (const value_type &x) |
Division assignment through the lens. | |
Lens & | operator<<= (const value_type &x) |
Bitwise left shift assignment through the lens. | |
Lens & | operator>>= (const value_type &x) |
Bitwise right shift assignment through the lens. | |
Lens & | operator^= (const value_type &x) |
Bitwise XOR assignment through the lens. | |
Lens & | operator|= (const value_type &x) |
Bitwise OR assignment through the lens. | |
CRTP base type for constructing Lens
types.
Lens | The Lens that is being derived. |
T | The value type of the Lens . |