locale-inst.cc question

Steve Ellcey sje@cup.hp.com
Fri Apr 12 14:48:00 GMT 2002



I noticed the following code in libstdc++-v3/src/locale-inst.cc:

|   // codecvt
|   inline template class __codecvt_abstract_base<char, char, mbstate_t>;
|   inline template class __codecvt_abstract_base<wchar_t, char, mbstate_t>;
|   template class codecvt_byname<char, char, mbstate_t>;
| #ifdef _GLIBCPP_USE_WCHAR_T
|   template class codecvt_byname<wchar_t, char, mbstate_t>;
| #endif



Shouldn't the line:

  inline template class __codecvt_abstract_base<wchar_t, char, mbstate_t>;

be inside an "#ifdef _GLIBCPP_USE_WCHAR_T"?

Steve Ellcey
sje@cup.hp.com



More information about the Libstdc++ mailing list