#include "LSubstring.h"
+#ifndef CXX_GLOBAL_CSTD
+using std::strlen;
+#endif
+
+
LSubstring::LSubstring(string & s, size_type i, size_type l)
: ps(&s), pos(i), n(l)
LSubstring::LSubstring(string & s, string::value_type const * p)
: ps(&s)
{
- n = std::strlen(p);
+ n = strlen(p);
pos = s.find(p);
}