Boost logo

Boost :

Subject: Re: [boost] [CallableTraits] The formal review begins today
From: Peter Dimov (lists_at_[hidden])
Date: 2017-04-03 18:34:38


Tim Song wrote:

> The issue was, I believe, whether the const implied by the constexpr gave
> the variable template internal linkage; even though they are templates,
> that doesn't help with the ODR problem if they are actually different
> templates.

Yes, it would be similar to the (mostly theoretical) problem created by _1,
if passed by reference to a template. I doubt that any implementation gives
variable template instantiations internal linkage though. It just makes no
sense. I don't know why issue 1713 hasn't been resolved yet.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk