2014-06-29 20:47 GMT+02:00 Tim Shen <[email protected]>:
> On Sun, Jun 29, 2014 at 10:18 AM, Jonathan Wakely <[email protected]> wrote:
>> Alternatively, we could just make them local statics instead of member
>> data and still remove the duplciation (see attached).
>
> This is a good idea. Can we use constexpr for the functions/static variables?

Not so for local statics within constexpr functions, but you could
have constexpr static data members, yes.

- Daniel

Reply via email to