summaryrefslogtreecommitdiff
path: root/STL
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-15 17:59:27 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-15 17:59:27 +0000
commiteb8914b4d9b20122181e6040237915671a4911ca (patch)
treebcb3621aae848eea6b53871bbebb50acd4cef428 /STL
parentcf8c060528b1a9f54607f856442dca955dc2cb8e (diff)
downloadATCD-eb8914b4d9b20122181e6040237915671a4911ca.tar.gz
*** empty log message ***
Diffstat (limited to 'STL')
-rw-r--r--STL/bstring.h6
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;