22 Aug
2017
22 Aug
'17
6:40 p.m.
Actually I think it's a lot simpler than this: when it was added, |BOOST_CONSTEXPR_OR_CONST did what it says, and what it's documented to do - namely declare something const or constexpr (which implied const at
John Maddock wrote: the time). Subsequently it's been broken by C++14 where constexpr no longer implies const. I don't think that this is true; constexpr does imply const in C++14 for variables. It no longer implies const for member functions, but that's a separate matter.