diff --git a/include/boost/test/detail/basic_cstring/basic_cstring.hpp b/include/boost/test/detail/basic_cstring/basic_cstring.hpp index 6a3d8ea8..b5dff318 100644 --- a/include/boost/test/detail/basic_cstring/basic_cstring.hpp +++ b/include/boost/test/detail/basic_cstring/basic_cstring.hpp @@ -55,7 +55,7 @@ public: //!! should also present reverse_iterator, const_reverse_iterator - enum { npos = -1 }; + enum npos_type { npos = (size_type)-1 }; static pointer null_str(); // Constructors; default copy constructor is generated by compiler @@ -701,6 +701,9 @@ last_char( basic_cstring source ) // Revision History : // // $Log$ +// Revision 1.3 2004/05/25 11:01:25 rogeeff +// make npos to have a named type +// // Revision 1.2 2004/05/21 06:19:35 rogeeff // licence update //