From 3026d5e6c6d445246c8145a70ce024a481e5dd3d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 29 Dec 2003 11:38:03 +0000 Subject: [PATCH] Added missing std:: prefix. [SVN r21413] --- test/concepts/concept_check.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/test/concepts/concept_check.cpp b/test/concepts/concept_check.cpp index 5b0ac98b..6cfc9c38 100644 --- a/test/concepts/concept_check.cpp +++ b/test/concepts/concept_check.cpp @@ -10,15 +10,21 @@ */ +#include // for abort #include -#include + #if defined(BOOST_MSVC) // this lets us compile at warning level 4 without seeing concept-check related warnings # pragma warning(disable:4100) #endif + +#include #include #include -#include + +#ifdef BOOST_NO_STDC_NAMESPACE +namespace std{ using ::abort; } +#endif int main() @@ -71,7 +77,7 @@ int main() r = c_exp; r = r; r = s; - if((r.mark_count()) || (0 == r.max_size()) || (r.empty()) || (0 == r.size()) || (r.begin() == r.end())) abort(); + if((r.mark_count()) || (0 == r.max_size()) || (r.empty()) || (0 == r.size()) || (r.begin() == r.end())) std::abort(); r.assign(r); r.assign(c_exp);