Boost logo

Boost :

Subject: Re: [boost] Boost.Conversion review
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2011-08-22 15:04:24


On Mon, Aug 22, 2011 at 11:56 AM, Vicente J. Botet Escriba
<vicente.botet_at_[hidden]> wrote:
> Le 22/08/11 20:04, Emil Dotchevski a écrit :
>> It might be possible to abuse unnamed namespaces to avoid violating ODR.
>>
> The needed overload is dependent on the namespace of the types, and the
> trait specialization must be on boost::conversion. Could you clarify how
> could unamed namespaces help on this?

I'm not familiar with your library but I guess you could have an
unnamed namespace inside the boost::conversion namespace and put the
specializations you need in it. I'm not saying it's a good idea, only
that it might be possible.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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