|
Boost : |
Subject: Re: [boost] [qvm] deduce_xx traits wouldn't introduce ODR issues.
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-12-10 13:09:26
Le 10/12/2015 08:30, Emil Dotchevski a écrit :
> On Wed, Dec 9, 2015 at 10:36 PM, Vicente J. Botet Escriba <
> vicente.botet_at_[hidden]> wrote:
>
>> Le 10/12/2015 00:15, Emil Dotchevski a écrit :
>>
>>> On Wed, Dec 9, 2015 at 2:51 PM, Vicente J. Botet Escriba <
>>> vicente.botet_at_[hidden]> wrote:
>>>
>> The problem appear when two such programmers do it (think of 3pp).
>>
>> If within one program two programmers introduce two different definitions
> under the same name, yes you have ODR but that is hardly a library problem.
> :)
>
>
Hmm. This is a library issue, because the library provides an interface
that allows to configure types that don't know each other by two
different parts.
TBoost.Conversion was rejected exactly by this reason.
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk