"David Abrahams" wrote
"Andy Little" writes:
Maybe it could be changed to (something like)
Return type: integral_c< typeof(c1::value + c2::value) , ( c1::value + c2::value ) > c;
This would guarantee that is_same can be used on the result. Currently I cant assume that.
You seem to have a deep misunderstanding of the problem.
Do I ..........? ;-)
is_same< int_<3>, integral_c
>::value is false. They are different types.
Really ? Knock me down wiv a feather guvnor!
typedef mpl::plus
::type type4;
assert((boost::is_same