change the std::string check

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2000-05-04 13:43:27 +00:00
parent 3c8aba3b55
commit 39a450bc3d
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2000-05-04 Lars Gullik Bjønnes <larsbj@lyx.org>
* config/lyxinclude.m4 (LYX_CXX_STL_STRING): change the test not
to use clear, since we don't depend on this in the code. Add test
for string::compare
2000-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* (various *.C files): add using std::foo directives to please dec

View File

@ -345,8 +345,10 @@ AC_DEFUN(LYX_CXX_STL_STRING,[
using std::string;
],[
string a("hello there");
a.clear();
a.erase();
a = "hey";
char s[] = "y";
int t = a.compare(a.length() - 1, 1, s);
a.erase();
],[
with_included_string=no

View File

@ -345,8 +345,10 @@ AC_DEFUN(LYX_CXX_STL_STRING,[
using std::string;
],[
string a("hello there");
a.clear();
a.erase();
a = "hey";
char s[] = "y";
int t = a.compare(a.length() - 1, 1, s);
a.erase();
],[
with_included_string=no