Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::gray_tools::signed_tester< T, is_signed > Struct Template Reference

#include <at_gray_code.h>

List of all members.

Static Public Methods

bool gtez (const T &i_rhs)


Detailed Description

template<typename T, bool is_signed = std::numeric_limits<T>::is_signed>
struct at::gray_tools::signed_tester< T, is_signed >

signed_tester is used to provide a comparison function for "T >= 0" for signed or unsigned types. This is used to avoid some silly compiler warnings. There is no reason other than this.


Member Function Documentation

template<typename T, bool is_signed = std::numeric_limits<T>::is_signed>
bool at::gray_tools::signed_tester< T, is_signed >::gtez const T &    i_rhs [inline, static]
 

gtez compares the parameter for "greater than or equal to 0". This version of this method is ONLY for signed types of T.

Parameters:
rhs  The rhs of " >= 0"
Returns:
the result of the expression


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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004