
6 Dec
2009
6 Dec
'09
9:57 a.m.
joel falcou wrote:
could be nice if they used mpl::integral_c so it can be used easily as MPL meta-functions forgot the code obv. :
namespace mpl { template<class X> struct abs : integral_c< typename X::value_type, (X < 0 ? -X : X)> {}; } etc -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35