Hi!

Sorry for top-post but my mailer does not correctly reproduce the initial email in the reply.

Why do you need boost::is_same in this context at all, if you can compare the values directly????

This should work:
        BOOST_STATIC_ASSERT((P==eDivide && Q==eMinus) || (P==eMult && Q==ePlus));

With Kind Regards,
Ovanes
 



On Fri, May 27, 2011 at 11:22 AM, <przemyslaw.sliwa@uk.bnpparibas.com> wrote:
[...]