Opened 12 years ago

#5452 new Feature Requests

boost::mpl::plus changes type

Reported by: Peter Foelsche <foelsche@…> Owned by: Joel Falcou
Milestone: To Be Determined Component: mpl
Version: Boost 1.47.0 Severity: Cosmetic
Keywords: Cc:

Description

The return type of boost::mpl::plus seems to be always integral_c independent of the input types.

This is very unconvenient.

please make

plus<long_<1>, long_<1> >::type

return

long_<2>

Change History (0)

Note: See TracTickets for help on using tickets.