stlab.adobe.com Adobe Systems Incorporated

#include <identity_element.hpp>

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

◆ result_type

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

◆ operator()()

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