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++ 3.3.1 Specialization bug?


Jonathan Wakely wrote:
[...]
Macros can solve the problem for now.  But I want to see whether a more
"decent" solution exists.  __gnu_cxx is really uglifying things (yes, I
know there are reasons for this :-) ).

namespace SGI_EXT = __gnu_cxx;


A namespace alias is the method recommended by the libstdc++ docs:
http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_4
but it doesn't solve the problem, as you can't specialise the type using
the namespace alias.
My mistake, thank you.

--
	Kirill.




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