This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
locale-inst.cc question
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Fri, 12 Apr 2002 14:48:40 -0700 (PDT)
- Subject: locale-inst.cc question
- Reply-to: sje at cup dot hp dot com
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