Logo MTL4

mtl::Magnitude< T > Struct Template Reference

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

#include <magnitude.hpp>

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 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.