Boost logo

Boost :

Subject: Re: [boost] [type_traits][general] Best practice for inline namespaces?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-01-18 11:42:16


On Sunday 18 January 2015 17:38:11 Vicente J. Botet Escriba wrote:
> Le 18/01/15 16:48, Andrey Semashev a écrit :
> > On Sunday 18 January 2015 16:36:33 Vicente J. Botet Escriba wrote:
> >> I suppose that you know that inline namespaces emulation via using
> >> doesn't support template class specialization, as the user must do the
> >> specializations on the original namespace. :(
> >
> > GCC 3.4 and later has __attribute__((strong)) which allows that.
> >
> > https://gcc.gnu.org/onlinedocs/gcc/Namespace-Association.html#Namespace-As
> > sociation
> Thanks for the info. Does this work for clang?

No, I don't think it does.


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