TooN
Static Public Attributes | List of all members
TooN::Field< L, R > Struct Template Reference

Determine if two classes are in the same field. More...

#include <operators.hh>

Static Public Attributes

static const int is = IsField<L>::value & IsField<R>::value
 <Set to 1 if the two classes are in the same field.
 

Detailed Description

template<class L, class R>
struct TooN::Field< L, R >

Determine if two classes are in the same field.

For the purposes of TooN float and int are in the same field, since operator +,-,*,/ are defined for any combination of float and int. Combinations of builtin types are dea;t with by IsField.


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