23 Aug
2017
23 Aug
'17
11:29 a.m.
On 22/08/2017 19:40, Peter Dimov via Boost wrote:
John Maddock wrote:
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 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.
Ah, I think you're correct - I'd obviously misremembered this - apologies for the noise, we can just forget the whole thing! John. --- This email has been checked for viruses by AVG. http://www.avg.com