
20 Jun
2010
20 Jun
'10
10:10 a.m.
vicente.botet wrote:
What do you mean by a "real MPL arithmetic types " I'm aware of mpl integral constants, but I don't know other that can be used as arithmetic constants. What a re the requirements for these MPL arithmetic types? Could you elaborate?
MPL arithmetic types should model the MPL Integral Constant concepts as
specified here:
http://www.boost.org/doc/libs/1_43_0/libs/mpl/doc/refmanual/integral-constan...
the idea is just to have your rational type being usable like:
boost::mpl::plus