Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-12-06 06:40:12


Author: danieljames
Date: 2007-12-06 06:40:11 EST (Thu, 06 Dec 2007)
New Revision: 41779
URL: http://svn.boost.org/trac/boost/changeset/41779

Log:
Remove some minor TODOs. These were more notes to myself than anything.

Text files modified:
   sandbox/unordered/libs/unordered/test/container/compile_tests.hpp | 3 ---
   sandbox/unordered/libs/unordered/test/unordered/compile_tests.cpp | 4 ----
   2 files changed, 0 insertions(+), 7 deletions(-)

Modified: sandbox/unordered/libs/unordered/test/container/compile_tests.hpp
==============================================================================
--- sandbox/unordered/libs/unordered/test/container/compile_tests.hpp (original)
+++ sandbox/unordered/libs/unordered/test/container/compile_tests.hpp 2007-12-06 06:40:11 EST (Thu, 06 Dec 2007)
@@ -50,9 +50,7 @@
 
     // reference_type / const_reference_type
 
- // TODO: 'lvalue of T'
     BOOST_MPL_ASSERT((boost::is_same<T&, reference>));
- // TODO: 'const lvalue of T'
     BOOST_MPL_ASSERT((boost::is_same<T const&, const_reference>));
 
     // iterator
@@ -63,7 +61,6 @@
 
     // const_iterator
 
- // TODO: Test that it's a constant iterator?
     boost::function_requires<boost::InputIteratorConcept<const_iterator> >();
     BOOST_MPL_ASSERT((boost::is_same<T, const_iterator_value_type>));
 

Modified: sandbox/unordered/libs/unordered/test/unordered/compile_tests.cpp
==============================================================================
--- sandbox/unordered/libs/unordered/test/unordered/compile_tests.cpp (original)
+++ sandbox/unordered/libs/unordered/test/unordered/compile_tests.cpp 2007-12-06 06:40:11 EST (Thu, 06 Dec 2007)
@@ -113,8 +113,6 @@
 
     BOOST_MPL_ASSERT((boost::is_same<Pred, key_equal>));
     test::check_return_type<bool>::convertible(eq(k, k));
- // TODO: Pred is an equivalence relation. Doesn't really matter for these
- // tests.
 
     boost::function_requires<boost::InputIteratorConcept<local_iterator> >();
     BOOST_MPL_ASSERT((boost::is_same<local_iterator_category, iterator_category>));
@@ -160,7 +158,6 @@
     const_iterator q = a.cbegin();
     test::check_return_type<iterator>::equals(a.insert(q, t));
 
- // TODO: void return?
     a.insert(i, j);
     test::check_return_type<size_type>::equals(a.erase(k));
 
@@ -174,7 +171,6 @@
     const_iterator q1 = a.cbegin(), q2 = a.cend();
     test::check_return_type<iterator>::equals(a.erase(q1, q2));
 
- // TODO: void return?
     a.clear();
 
     test::check_return_type<iterator>::equals(a.find(k));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk