|
Boost : |
Subject: Re: [boost] [CallableTraits] The formal review begins today
From: Peter Dimov (lists_at_[hidden])
Date: 2017-04-03 16:20:21
Paul Fultz II wrote:
> On Apr 3, 2017, at 9:30 AM, Peter Dimov via Boost <boost_at_[hidden]>
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk