stlab.adobe.com Adobe Systems Incorporated

identity_element< Op > Struct Template Reference

#include <identity_element.hpp>

List of all members.

Public Types

typedef Op::result_type result_type

Public Member Functions

result_type operator() () const

Detailed Description

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

Definition at line 28 of file identity_element.hpp.


Member Typedef Documentation

typedef Op::result_type result_type

the type of the identity is the same as the result tyupe of the operation

Definition at line 31 of file identity_element.hpp.


Member Function Documentation

result_type operator() (  ) const

Yields the identitiy element.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google