Public Types | Public Member Functions | List of all members
zero Class Reference

A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are known to be zero at compile-time. More...

Inheritance diagram for zero:
Inheritance graph
[legend]

Public Types

typedef zero value_type
 

Public Member Functions

 zero ()
 Construct null. More...
 
 operator bool () const
 Return 0 for bool. More...
 
 operator label () const
 Return 0 for label. More...
 
 operator float () const
 Return 0 for float. More...
 
 operator double () const
 Return 0 for double. More...
 

Detailed Description

A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are known to be zero at compile-time.

Source files

Definition at line 49 of file zero.H.

Member Typedef Documentation

typedef zero value_type

Definition at line 53 of file zero.H.

Constructor & Destructor Documentation

zero ( )
inline

Construct null.

Definition at line 58 of file zero.H.

Member Function Documentation

operator bool ( ) const
inline

Return 0 for bool.

Definition at line 65 of file zero.H.

operator label ( ) const
inline

Return 0 for label.

Definition at line 71 of file zero.H.

operator float ( ) const
inline

Return 0 for float.

Definition at line 77 of file zero.H.

operator double ( ) const
inline

Return 0 for double.

Definition at line 83 of file zero.H.


The documentation for this class was generated from the following file: