
22 Aug
2011
22 Aug
'11
7:04 p.m.
On Mon, Aug 22, 2011 at 11:56 AM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> 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