
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Paul A. Bristow Sent: Wednesday, August 08, 2012 5:40 PM To: boost@lists.boost.org Subject: Re: [boost] [type_erasure] Review started (July 18-27, 2012)
I've checked that using an typedef any< mpl::vector < // List of concepts. typeid_<>, arithmetic<>, // Re-using another list of concepts. negatable<>, ostreamable<> > > arith_type; arith_type x(10); arith_type y(4); but find that while x = -y; works as expected, x = +y doesn't work. Of course the + is redundant, but I have used it for clarity. Should the unary plus be included for completeness? Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com