Boost logo

Boost :

Subject: Re: [boost] [config][mpl][type_traits][integer] BOOST_STATIC_CONSTANT should use constexpr
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2013-04-20 06:12:46

2013/4/20 Vicente J. Botet Escriba <vicente.botet_at_[hidden]>:
> template <int b1, int b2> bool const ice_eq<b1,b2>::value; // *********
> template <int b1, int b2> bool const ice_ne<b1,b2>::value; // *********
> #endif
> for which I have needed to change const by BOOST_CONSTEXPR_OR_CONST.
> What am I missing?

Looks like it shall be
not #ifndef

But how did it work before? Or nobody tested it on ancient compilers?

Best regards,
Antony Polukhin

Boost list run by bdawes at, gregod at, cpdaniel at, john at