|
Boost : |
Subject: [boost] [mpl] unexpected behaviour of mpl::add
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2010-08-19 06:01:12
Hi,
I just noticed something i find very odd.
Considering this example:
mpl::add<mpl::int_<1>, mpl::int_<1>::type
So I was expecting that this metafunction returns a mpl::int<2>
Unfortunately, this was not the case, instead a mpl::integral_c<int, 2> was
returned.
Is this a bug or a feature?
Regards,
Thomas
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk