identity_element< std::plus< T > > Struct Template Reference |
Public Types | |
typedef T | result_type |
Public Member Functions | |
result_type | operator() () const |
Detailed Description
template<typename T>
struct adobe::identity_element< std::plus< T > >
Definition at line 43 of file identity_element.hpp.
Member Typedef Documentation
typedef T result_type |
the type of the identity is the same as the result tyupe of the operation
Definition at line 46 of file identity_element.hpp.
Member Function Documentation
result_type operator() | ( | ) | const |
Yields the identitiy element for addition.
Definition at line 49 of file identity_element.hpp.