From e33f1b21d649f96532ba0bd253a48c8d8db1b594 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 17 May 2006 17:09:47 +0000 Subject: [PATCH] Update the container compile tests to include cbegin/cend. And add the copyright notice. [SVN r2952] --- test/container/compile_tests.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/container/compile_tests.hpp b/test/container/compile_tests.hpp index 1016f870..95479b6c 100644 --- a/test/container/compile_tests.hpp +++ b/test/container/compile_tests.hpp @@ -1,3 +1,8 @@ + +// Copyright Daniel James 2005-2006. Use, modification, and distribution are +// subject to the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + #include #include #include @@ -101,8 +106,12 @@ void container_test(X& r, T& value) X const a_const; test::check_return_type::equals(a.begin()); test::check_return_type::equals(a_const.begin()); + test::check_return_type::equals(a.cbegin()); + test::check_return_type::equals(a_const.cbegin()); test::check_return_type::equals(a.end()); test::check_return_type::equals(a_const.end()); + test::check_return_type::equals(a.cend()); + test::check_return_type::equals(a_const.cend()); // No tests for ==, != since they're not required for unordered containers.