1.1 --- a/epoc32/include/tools/stlport/stl/_string_npos.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,27 +0,0 @@
1.4 -/*
1.5 - * Copyright (c) 2005
1.6 - * Francois Dumont
1.7 - *
1.8 - * This material is provided "as is", with absolutely no warranty expressed
1.9 - * or implied. Any use is at your own risk.
1.10 - *
1.11 - * Permission to use or copy this software for any purpose is hereby granted
1.12 - * without fee, provided the above notices are retained on all copies.
1.13 - * Permission to modify the code and to distribute modified code is granted,
1.14 - * provided the above notices are retained, and a notice that the code was
1.15 - * modified is included with the above copyright notice.
1.16 - */
1.17 -
1.18 -/* This header contains npos definition used in basic_string and rope
1.19 - * implementation. It do not have to be guarded as files including it
1.20 - * are already guarded and it has sometimes to be included several times.
1.21 - */
1.22 -
1.23 -#if defined (_STLP_STATIC_CONST_INIT_BUG)
1.24 - enum { npos = -1 };
1.25 -#elif defined (__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ == 96)
1.26 - // inline initializer conflicts with 'extern template'
1.27 - static const size_t npos;
1.28 -#else
1.29 - static const size_t npos = ~(size_t)0;
1.30 -#endif