From c013d15c164898466d7b5069b78dde78f8efaaed Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 6 Dec 2007 11:40:11 +0000 Subject: [PATCH] Remove some minor TODOs. These were more notes to myself than anything. [SVN r41779] --- test/container/compile_tests.hpp | 3 --- test/unordered/compile_tests.cpp | 4 ---- 2 files changed, 7 deletions(-) diff --git a/test/container/compile_tests.hpp b/test/container/compile_tests.hpp index 521f1d4e..b5fe1ab3 100644 --- a/test/container/compile_tests.hpp +++ b/test/container/compile_tests.hpp @@ -50,9 +50,7 @@ void container_test(X& r, T&) // reference_type / const_reference_type - // TODO: 'lvalue of T' BOOST_MPL_ASSERT((boost::is_same)); - // TODO: 'const lvalue of T' BOOST_MPL_ASSERT((boost::is_same)); // iterator @@ -63,7 +61,6 @@ void container_test(X& r, T&) // const_iterator - // TODO: Test that it's a constant iterator? boost::function_requires >(); BOOST_MPL_ASSERT((boost::is_same)); diff --git a/test/unordered/compile_tests.cpp b/test/unordered/compile_tests.cpp index f6aabca8..6d3ae4ad 100644 --- a/test/unordered/compile_tests.cpp +++ b/test/unordered/compile_tests.cpp @@ -113,8 +113,6 @@ void unordered_test(X&, Key& k, T& t, Hash& hf, Pred& eq) BOOST_MPL_ASSERT((boost::is_same)); test::check_return_type::convertible(eq(k, k)); - // TODO: Pred is an equivalence relation. Doesn't really matter for these - // tests. boost::function_requires >(); BOOST_MPL_ASSERT((boost::is_same)); @@ -160,7 +158,6 @@ void unordered_test(X&, Key& k, T& t, Hash& hf, Pred& eq) const_iterator q = a.cbegin(); test::check_return_type::equals(a.insert(q, t)); - // TODO: void return? a.insert(i, j); test::check_return_type::equals(a.erase(k)); @@ -174,7 +171,6 @@ void unordered_test(X&, Key& k, T& t, Hash& hf, Pred& eq) const_iterator q1 = a.cbegin(), q2 = a.cend(); test::check_return_type::equals(a.erase(q1, q2)); - // TODO: void return? a.clear(); test::check_return_type::equals(a.find(k));