stlab.adobe.com Adobe Systems Incorporated

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

specialization of identity_element for std::multiplies<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::multiplies< T > >

Definition at line 59 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 62 of file identity_element.hpp.


Member Function Documentation

result_type operator() (  ) const

Yields the identitiy element for multiplication.

Definition at line 65 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