Subject: Re: [boost] [qvm] deduce_xx traits wouldn't introduce ODR issues.
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-12-31 10:49:44
Le 31/12/2015 06:20, Emil Dotchevski a écrit :
> On Wed, Dec 30, 2015 at 11:39 AM, Adam Wulkiewicz <adam.wulkiewicz_at_[hidden]
>> Emil, do you think that the deduce_xx traits are something that is crucial
>> for the library? Or could it be e.g. hidden in the details?
> Without this machinery it wouldn't be possible to customize the return type
> for binary operations invoked with different user-defined types.
> Specializing this template also helps avoid temporaries.
What about customizing it with the fist argument only?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk