This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
Jonathan Wakely wrote: [...]
My mistake, thank you.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.
-- Kirill.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |