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]

locale-inst.cc question




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


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