zero()

Prototype

template <class X>
struct zero
{ X operator()() const ; } ;

Description

Return the zero value.

Example

int i ;
i = zero<int>() ;

Definition

Defined in zero.hpp

Template parameters

ParameterDescriptionDefault
Xtype of result 

Type requirements

XMust be an AdditiveMonoid