Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
identity_element< Op > Struct Template Reference

#include <identity_element.hpp>

Public Types

typedef Op::result_type result_type
 the type of the identity is the same as the result tyupe of the operation

Public Member Functions

result_type operator() () const
 Yields the identitiy element.

Detailed Description

template<typename Op>
struct adobe::identity_element< Op >

Definition at line 28 of file identity_element.hpp.

Member Typedef Documentation

◆ result_type

template<typename Op>
typedef Op::result_type result_type

Definition at line 30 of file identity_element.hpp.

Member Function Documentation

◆ operator()()

template<typename Op>
result_type operator() ( ) const