3 Apr
2017
3 Apr
'17
4:20 p.m.
Paul Fultz II wrote:
On Apr 3, 2017, at 9:30 AM, Peter Dimov via Boost
wrote: constexpr variables are inline by default if I'm not mistaken.
No they are not, it was considered at one point(which would have been nice).
Yes, you're right, https://isocpp.org/files/papers/p0636r0.html says "Implied for static constexpr class data members."
However, in C++14, variable templates have external linkage, so `inline` is not necessary for variable templates.
Indeed. They're templates after all.