include/geometry/number-traits.h
author Camille Wormser <camille.wormser@normalesup.org>
Wed, 12 Aug 2009 21:32:38 -0700
branchdev
changeset 163 6cd50e622550
parent 19 efa14432761a
permissions -rw-r--r--
explicitely converts a Dimension (short int) into a size_t, for removing a warning

#ifndef __NUMBER_TRAITS_H__
#define __NUMBER_TRAITS_H__

template<class NumberType_>
class number_traits
{
	public:
		typedef							NumberType_									NumberType;

		static NumberType&				normalize(NumberType& n)					{ return n; }
};

#endif