Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76162 - in trunk: boost/icl libs/icl/test
From: afojgo_at_[hidden]
Date: 2011-12-25 17:25:36


Author: jofaber
Date: 2011-12-25 17:25:34 EST (Sun, 25 Dec 2011)
New Revision: 76162
URL: http://svn.boost.org/trac/boost/changeset/76162

Log:
Generated tests (prefixed by bcont_) for an implementation variant using Boost.Container.
Text files modified:
   trunk/boost/icl/impl_config.hpp | 11 +++--
   trunk/boost/icl/map.hpp | 2
   trunk/libs/icl/test/Jamfile.v2 | 73 ++++++++++++++++++++++++++++++++++++++++
   3 files changed, 80 insertions(+), 6 deletions(-)

Modified: trunk/boost/icl/impl_config.hpp
==============================================================================
--- trunk/boost/icl/impl_config.hpp (original)
+++ trunk/boost/icl/impl_config.hpp 2011-12-25 17:25:34 EST (Sun, 25 Dec 2011)
@@ -14,17 +14,18 @@
 | Select at most ONE of the following defines to change the default |
 +-----------------------------------------------------------------------------*/
 
-//#define ICL_USE_STD_IMPLEMENTATION // Default
-//#define ICL_USE_BOOST_MOVE_IMPLEMENTATION // Enables Move semantics for ICL
+//#define ICL_USE_STD_IMPLEMENTATION // Default
+//#define ICL_USE_BOOST_MOVE_IMPLEMENTATION // Boost.Container
 // ICL_USE_BOOST_INTERPROCESS_IMPLEMENTATION // No longer available
 
 /*-----------------------------------------------------------------------------+
 | NO define or ICL_USE_STD_IMPLEMENTATION: Choose std::set and std::map from |
-| your local std implementation as basic containers of elements (DEFAULT). |
+| your local std implementation as implementing containers (DEFAULT). |
+| Whether move semantics is available depends on the version of your local |
+| STL. |
 | |
 | ICL_USE_BOOST_MOVE_IMPLEMENTATION: |
-| Move aware containers from boost::container. Choosing boost containers |
-| enables move semantics for ICL. |
+| Move aware containers from boost::container. |
 | |
 | NOTE: ICL_USE_BOOST_INTERPROCESS_IMPLEMENTATION: This define has been |
 | available until boost version 1.48.0 and is no longer supported. |

Modified: trunk/boost/icl/map.hpp
==============================================================================
--- trunk/boost/icl/map.hpp (original)
+++ trunk/boost/icl/map.hpp 2011-12-25 17:25:34 EST (Sun, 25 Dec 2011)
@@ -1,5 +1,5 @@
 /*-----------------------------------------------------------------------------+
-Copyright (c) 2007-2010: Joachim Faulhaber
+Copyright (c) 2007-2011: Joachim Faulhaber
 +------------------------------------------------------------------------------+
    Distributed under the Boost Software License, Version 1.0.
       (See accompanying file LICENCE.txt or copy at

Modified: trunk/libs/icl/test/Jamfile.v2
==============================================================================
--- trunk/libs/icl/test/Jamfile.v2 (original)
+++ trunk/libs/icl/test/Jamfile.v2 2011-12-25 17:25:34 EST (Sun, 25 Dec 2011)
@@ -155,4 +155,77 @@
             : : : <define>BOOST_ICL_TEST_CHRONO
             : chrono_total_icl_quantifier ]
       
+ # ========================================================================
+ # Boost.Container --------------------------------------------------------
+ # interval
+ [ run fastest_icl_interval_/fastest_icl_interval.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_icl_interval ]
+
+ # sets
+ [ run fastest_interval_set_/fastest_interval_set.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_set ]
+
+ [ run fastest_interval_set_infix_/fastest_interval_set_infix.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_set_infix ]
+
+ [ run fastest_interval_set_mixed_/fastest_interval_set_mixed.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_set_mixed ]
+
+ # maps
+ [ run fastest_interval_map_/fastest_interval_map.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_map ]
+
+ [ run fastest_interval_map_infix_/fastest_interval_map_infix.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_map_infix ]
+
+ [ run fastest_interval_map_mixed_/fastest_interval_map_mixed.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_map_mixed ]
+
+ [ run fastest_interval_map_mixed2_/fastest_interval_map_mixed2.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_map_mixed2 ]
+
+ [ run fastest_interval_map_infix_mixed_/fastest_interval_map_infix_mixed.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_interval_map_infix_mixed ]
+
+ [ run fastest_icl_map_/fastest_icl_map.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_icl_map ]
+
+
+ # handcoded tests using laws (not LaBatea) -------------------------------
+ # Concept Set
+ [ run fastest_set_interval_set_/fastest_set_interval_set.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_set_interval_set ]
+
+ [ run fastest_set_icl_set_/fastest_set_icl_set.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_set_icl_set ]
+
+ # Concept Map
+ [ run fastest_partial_interval_quantifier_/fastest_partial_interval_quantifier.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_partial_interval_quantifier ]
+
+ [ run fastest_total_interval_quantifier_/fastest_total_interval_quantifier.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_total_interval_quantifier ]
+
+ [ run fastest_partial_icl_quantifier_/fastest_partial_icl_quantifier.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_partial_icl_quantifier ]
+
+ [ run fastest_total_icl_quantifier_/fastest_total_icl_quantifier.cpp
+ : : : <define>ICL_USE_BOOST_MOVE_IMPLEMENTATION
+ : bcont_total_icl_quantifier ]
+
     ;


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