diff options
Diffstat (limited to 'STL/bstring.h')
-rw-r--r-- | STL/bstring.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/STL/bstring.h b/STL/bstring.h index 8a7b46a11d9..c7c8ec3394c 100644 --- a/STL/bstring.h +++ b/STL/bstring.h @@ -74,7 +74,6 @@ void check_bounds const size_t NPOS = (size_t)(-1); - /* *Added by d:\\convert.pl --begin-- */ @@ -462,6 +461,8 @@ protected: public: + static const size_t npos; + typedef charT char_type; typedef string_char_baggage<charT> baggage_type; @@ -2496,6 +2497,9 @@ operator>> (istream& i, basic_string<charT>& s) _THROW_ALLOC_LENGTH // GreenHills 1.8.8 doesn't like this template specialization . . . template basic_string<char>; #endif /* ghs */ +/* static */ +template<TYPE> +const size_t basic_string<TYPE>::npos = NPOS; typedef basic_string<char> cstring; typedef basic_string<char> string; //typedef basic_string<wchar_t> wstring; |