mtl::Magnitude< T > Struct Template Reference

Concept/Type-trait for magnitudes of scalar values. More...

#include <magnitude.hpp>

Inherited by mtl::RealMagnitude< T >.

List of all members.

Public Types

typedef T type
 Associated type; the default is T; must be specialized appropriately.


Detailed Description

template<typename T>
struct mtl::Magnitude< T >

Concept/Type-trait for magnitudes of scalar values.

This name is overloaded: when MTL4 is compiled with a concept-compiler Magnitude is a concept otherwise a type-trait. It is used for instance in norms.


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





mtl::Magnitude< T > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Generated on 19 May 2009 by Doxygen 1.5.5 -- Copyright 2007 by the Trustees of Indiana University.