TooN 2.1
Static Public Attributes
Field< L, R > Struct Template Reference

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

#include <operators.hh>

List of all members.

Static Public Attributes

static const int is = IsField<L>::value & IsField<R>::value

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.