You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2005/12/20 03:00:30 UTC
svn commit: r357872 - in /incubator/stdcxx/trunk/tests/algorithms:
25.adjacent.find.cpp 25.find.cpp 25.find.end.cpp
Author: sebor
Date: Mon Dec 19 18:00:25 2005
New Revision: 357872
URL: http://svn.apache.org/viewcvs?rev=357872&view=rev
Log:
2005-12-19 Martin Sebor <se...@roguewave.com>
* 25.adjacent.find.cpp (<cstring>): Replaced the #inclusion
of <cstddef> to bring the declaration of std::strlen() into scope.
* find.cpp: Same.
* find_end.cpp: Same.
Modified:
incubator/stdcxx/trunk/tests/algorithms/25.adjacent.find.cpp
incubator/stdcxx/trunk/tests/algorithms/25.find.cpp
incubator/stdcxx/trunk/tests/algorithms/25.find.end.cpp
Modified: incubator/stdcxx/trunk/tests/algorithms/25.adjacent.find.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/algorithms/25.adjacent.find.cpp?rev=357872&r1=357871&r2=357872&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/algorithms/25.adjacent.find.cpp (original)
+++ incubator/stdcxx/trunk/tests/algorithms/25.adjacent.find.cpp Mon Dec 19 18:00:25 2005
@@ -19,9 +19,9 @@
*
**************************************************************************/
-#include <algorithm> // for adjacent_find
+#include <algorithm> // for adjacent_find()
#include <functional> // for equal_to
-#include <cstddef> // for size_t
+#include <cstring> // for size_t, strlen()
#include <alg_test.h>
#include <driver.h>
Modified: incubator/stdcxx/trunk/tests/algorithms/25.find.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/algorithms/25.find.cpp?rev=357872&r1=357871&r2=357872&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/algorithms/25.find.cpp (original)
+++ incubator/stdcxx/trunk/tests/algorithms/25.find.cpp Mon Dec 19 18:00:25 2005
@@ -20,7 +20,7 @@
**************************************************************************/
#include <algorithm> // for find()
-#include <cstddef> // for size_t
+#include <cstring> // for size_t, strlen()
#include <alg_test.h>
#include <driver.h> // for rw_test()
Modified: incubator/stdcxx/trunk/tests/algorithms/25.find.end.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/algorithms/25.find.end.cpp?rev=357872&r1=357871&r2=357872&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/algorithms/25.find.end.cpp (original)
+++ incubator/stdcxx/trunk/tests/algorithms/25.find.end.cpp Mon Dec 19 18:00:25 2005
@@ -19,12 +19,12 @@
*
**************************************************************************/
-#include <algorithm> // for find_end
+#include <algorithm> // for find_end()
#include <functional> // for equal_to
-#include <cstddef> // for size_t
+#include <cstring> // for size_t, strlen()
#include <alg_test.h>
-#include <driver.h> // for rw_test
+#include <driver.h> // for rw_test()
/**************************************************************************/