This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: G++ namespace association extension


On 07/09/2012 01:26 PM, Jonathan Wakely wrote:
http://gcc.gnu.org/onlinedocs/gcc/Namespace-Association.html says:

"Caution: The semantics of this extension are not fully defined. Users
should refrain from using this extension as its semantics may change
subtly over time. It is possible that this extension will be removed
in future versions of G++. "

Is it safe to assume that the semantics are now fixed to match those
of C++11 inline namespaces and will not change unless removed?

Yes, but people should use inline namespaces instead; we should deprecate this form and then remove it in 4.9.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]