Adobe Systems Incorporated

identity_element< std::plus< T > > Struct Template Reference
[Miscellaneous Functional Operators]

specialization of identity_element for std::plus<T>

#include <identity_element.hpp>

List of all members.

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.

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