Boost logo

Boost :

Subject: Re: [boost] [CallableTraits] The formal review begins today
From: Paul Fultz II (pfultz2_at_[hidden])
Date: 2017-04-03 19:52:52

> On Apr 3, 2017, at 1:34 PM, Peter Dimov via Boost <boost_at_[hidden]> wrote:
> 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.

Its more than theoretical, with internal linkage it will bloat the binary with duplicate symbols. Most linkers can remove these duplicates, but do not always and are not required to.

Boost list run by bdawes at, gregod at, cpdaniel at, john at