[Boost-bugs] [Boost C++ Libraries] #5452: boost::mpl::plus changes type

Subject: [Boost-bugs] [Boost C++ Libraries] #5452: boost::mpl::plus changes type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-10 21:35:08


#5452: boost::mpl::plus changes type
-----------------------------------------------------+----------------------
 Reporter: Peter Foelsche <foelsche@…> | Owner: jfalcou
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: mpl
  Version: Boost 1.47.0 | Severity: Cosmetic
 Keywords: |
-----------------------------------------------------+----------------------
 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>

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5452>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC