|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69064 - in sandbox/assign_v2: boost/assign/v2 boost/assign/v2/detail/check boost/assign/v2/detail/check/equal_container boost/assign/v2/detail/config boost/assign/v2/detail/keyword boost/assign/v2/detail/pp boost/assign/v2/detail/traits boost/assign/v2/detail/traits/container boost/assign/v2/detail/traits/type boost/assign/v2/put/container/functor boost/assign/v2/put/deduce boost/assign/v2/put/ext boost/assign/v2/put/frame boost/assign/v2/put/modulo boost/assign/v2/put/pipe/csv boost/assign/v2/put/pipe/functor boost/assign/v2/put/pipe/functor/cpp03 boost/assign/v2/put/pipe/functor/cpp0x boost/assign/v2/put/pipe/modulo boost/assign/v2/ref/array boost/assign/v2/ref/array/alloc boost/assign/v2/ref/array/csv boost/assign/v2/ref/array/functor boost/assign/v2/ref/convert_traits boost/assign/v2/ref/list boost/assign/v2/ref/list/array boost/assign/v2/ref/list/holder boost/assign/v2/ref/list_tuple boost/assign/v2/ref/list_tuple/cpp03 boost/assign/v2/ref/list_tuple/cpp0x boost/assign/v2/ref/wrapper boost/assign/v2/utility/chain boost/assign/v2/utility/convert libs/assign/v2/speed libs/assign/v2/src libs/assign/v2/test libs/assign/v2/test/detail libs/assign/v2/test/detail/traits libs/assign/v2/test/put libs/assign/v2/test/put/container libs/assign/v2/test/put/deque libs/assign/v2/test/put/ext libs/assign/v2/test/put/pipe libs/assign/v2/test/put/pipe/csv libs/assign/v2/test/put/pipe/functor libs/assign/v2/test/put/ptr libs/assign/v2/test/put/std libs/assign/v2/test/ref libs/assign/v2/test/ref/array libs/assign/v2/test/unit_testing libs/assign/v2/test/utility
From: erwann.rogard_at_[hidden]
Date: 2011-02-19 13:21:50
Author: e_r
Date: 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
New Revision: 69064
URL: http://svn.boost.org/trac/boost/changeset/69064
Log:
removing trailing ws from assign_v2
Text files modified:
sandbox/assign_v2/boost/assign/v2/detail.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container.hpp | 18 ++++----
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp | 14 +++---
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/deduce.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp | 18 ++++----
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp | 20 ++++----
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/pp.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp | 16 +++---
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp | 16 +++---
sandbox/assign_v2/boost/assign/v2/detail/check/fwd_equal_container.hpp | 12 ++--
sandbox/assign_v2/boost/assign/v2/detail/config/check.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/config/limit_arity.hpp | 4
sandbox/assign_v2/boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp | 4
sandbox/assign_v2/boost/assign/v2/detail/keyword/nil.hpp | 4
sandbox/assign_v2/boost/assign/v2/detail/pp/params.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/fwd.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/detail/traits/container/has_push.hpp | 16 +++---
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_array.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_associative.hpp | 4
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_fifo.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_lifo.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_map.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_range.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_set.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_sorted.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_fwd.hpp | 38 ++++++++--------
sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp | 42 +++++++++---------
sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value_container.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp | 4
sandbox/assign_v2/boost/assign/v2/detail/traits/container/value.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/value_container.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/switch.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp | 14 +++---
sandbox/assign_v2/boost/assign/v2/detail/traits/type/is_stl_pair.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp | 20 ++++----
sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/container/functor/modulo.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/put/deduce/modifier.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/deduce/modulo.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/ext/iterate.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/ext/xxx.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/frame/crtp.hpp | 20 ++++----
sandbox/assign_v2/boost/assign/v2/put/frame/modifier.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/frame/sub.hpp | 14 +++---
sandbox/assign_v2/boost/assign/v2/put/modulo/ext.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/modulo/fun.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/put/modulo/fun_modifier.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/modulo/generic.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/put/modulo/modifier.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/pipe/csv/forward.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp | 4
sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/pipe/modulo/size_type.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp | 28 ++++++------
sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant_fwd.hpp | 10 ++--
sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp | 34 +++++++-------
sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy_fwd.hpp | 12 ++--
sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/ref/array/interface.hpp | 4
sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp | 88 ++++++++++++++++++++--------------------
sandbox/assign_v2/boost/assign/v2/ref/convert_traits/const.hpp | 10 ++--
sandbox/assign_v2/boost/assign/v2/ref/convert_traits/reference.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp | 14 +++---
sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp | 4
sandbox/assign_v2/boost/assign/v2/ref/list/converter.hpp | 4
sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/list/holder/tail.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp03/container.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp0x/container.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/list_tuple/extraction.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/list_tuple/size_type.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/wrapper/adaptor_get.hpp | 12 ++--
sandbox/assign_v2/boost/assign/v2/ref/wrapper/crtp.hpp | 18 ++++----
sandbox/assign_v2/boost/assign/v2/ref/wrapper/get.hpp | 12 ++--
sandbox/assign_v2/boost/assign/v2/utility/chain/adaptor.hpp | 22 +++++-----
sandbox/assign_v2/boost/assign/v2/utility/chain/check.hpp | 46 ++++++++++----------
sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/utility/chain/range.hpp | 4
sandbox/assign_v2/boost/assign/v2/utility/chain/result.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/utility/chain/use_lvalue.hpp | 8 +-
sandbox/assign_v2/boost/assign/v2/utility/convert/check.hpp | 22 +++++-----
sandbox/assign_v2/boost/assign/v2/utility/convert/converter.hpp | 22 +++++-----
sandbox/assign_v2/boost/assign/v2/utility/convert/deduce.hpp | 2
sandbox/assign_v2/boost/assign/v2/utility/convert/dispatch.hpp | 4
sandbox/assign_v2/boost/assign/v2/utility/convert/helper.hpp | 10 ++--
sandbox/assign_v2/libs/assign/v2/speed/tools.cpp | 62 ++++++++++++++--------------
sandbox/assign_v2/libs/assign/v2/speed/tools.h | 14 +++---
sandbox/assign_v2/libs/assign/v2/src/main.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/detail.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/detail.h | 2
sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/detail/functor.h | 2
sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.h | 2
sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.cpp | 6 +-
sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.h | 2
sandbox/assign_v2/libs/assign/v2/test/other.cpp | 16 +++---
sandbox/assign_v2/libs/assign/v2/test/other.h | 2
sandbox/assign_v2/libs/assign/v2/test/put.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/put.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/container.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/container.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/container/csv.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/put/container/csv.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp | 14 +++---
sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/put/container/range.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/deduce.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/deduce.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/deque.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.cpp | 12 ++--
sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/deque/std.cpp | 14 +++---
sandbox/assign_v2/libs/assign/v2/test/put/ext.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/frame.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/frame.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/modulo.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/put/modulo.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/ext.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/fun.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/rhs.cpp | 8 +-
sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp | 8 +-
sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/forward.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/fun.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp | 6 +-
sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp | 14 +++---
sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/ptr.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.cpp | 8 +-
sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.h | 2
sandbox/assign_v2/libs/assign/v2/test/put/std.h | 4
sandbox/assign_v2/libs/assign/v2/test/put/std/functor.cpp | 6 +-
sandbox/assign_v2/libs/assign/v2/test/put/std/functor.h | 2
sandbox/assign_v2/libs/assign/v2/test/ref.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/ref.h | 2
sandbox/assign_v2/libs/assign/v2/test/ref/array.h | 2
sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.cpp | 6 +-
sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.h | 2
sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.cpp | 6 +-
sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.h | 2
sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.h | 2
sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/ref/list.h | 2
sandbox/assign_v2/libs/assign/v2/test/ref/wrapper.h | 2
sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp | 10 ++--
sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp | 14 +++---
sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp | 12 ++--
sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp | 10 ++--
sandbox/assign_v2/libs/assign/v2/test/utility.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/utility.h | 2
sandbox/assign_v2/libs/assign/v2/test/utility/chain.cpp | 10 ++--
sandbox/assign_v2/libs/assign/v2/test/utility/chain.h | 2
sandbox/assign_v2/libs/assign/v2/test/utility/convert.cpp | 22 +++++-----
sandbox/assign_v2/libs/assign/v2/test/utility/convert.h | 2
177 files changed, 659 insertions(+), 659 deletions(-)
Modified: sandbox/assign_v2/boost/assign/v2/detail.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -18,6 +18,6 @@
// Don't include
// /checking/checking.hpp
-// /config/config
+// /config/config
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,28 +17,28 @@
#include <boost/assign/v2/detail/check/equal_container/sorted.hpp>
#include <boost/assign/v2/detail/check/fwd_equal_container.hpp> // consistency
-namespace boost{
-namespace assign{
+namespace boost{
+namespace assign{
namespace v2{
-namespace check_aux{
+namespace check_aux{
template<typename C, typename R>
void equal_container(C & cont, R const& r)
- {
+ {
typedef typename v2::check_aux::deduce_equal_container_tag<C>::type tag;
v2::checking::equal( tag(), cont, r );
- }
+ }
template<typename C, typename R>
void equal_container(C const& cont, R const& r)
- {
+ {
typedef typename v2::check_aux::deduce_equal_container_tag<C>::type tag;
v2::checking::equal( tag(), cont, r );
- }
+ }
}// check_aux
}// v2
}// assign
-}// boost
-
+}// boost
+
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,14 +13,14 @@
#include <boost/assign/v2/detail/traits/container/is_array.hpp>
#include <boost/assign/v2/detail/check_equal_container/pp.hpp>
-namespace boost{
-namespace assign{
+namespace boost{
+namespace assign{
namespace v2{
-namespace check_aux{
+namespace check_aux{
template<typename C, typename R>
void equal_container(v2::container_tag::array, C const & cont, R const& r)
- {
+ {
BOOST_ASSIGN_V2_CHECK_AUX_CONTAINER_SIZE
BOOST_ASSIGN_V2_CHECK_AUX_CONTAINER_ELEM_AT
C cpy = cont; // becaus operator[] return a (non-const) reference
@@ -28,11 +28,11 @@
{
BOOST_ASSIGN_V2_CHECK( cpy[ i ] == elem_at( i ) );
}
- }
+ }
}// check_aux
}// v2
}// assign
-}// boost
-
+}// boost
+
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/deduce.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/deduce.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/deduce.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
#include <boost/assign/v2/detail/traits/container/is_array.hpp>
#include <boost/assign/v2/detail/traits/container/is_range.hpp>
#include <boost/assign/v2/detail/traits/switch.hpp>
-
+
namespace boost{
namespace assign{
namespace v2{
@@ -66,7 +66,7 @@
switch_aux::helper<
container_tag::range
>{};
-
+
}// switch_aux
namespace check_aux{
@@ -76,7 +76,7 @@
T
>
{};
-
+
}// check_aux
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,27 +13,27 @@
#include <boost/assign/v2/detail/traits/container/is_fifo.hpp>
#include <boost/assign/v2/detail/check_equal_container/pp.hpp>
-namespace boost{
-namespace assign{
+namespace boost{
+namespace assign{
namespace v2{
-namespace check_aux{
+namespace check_aux{
template<typename C, typename R>
void equal_container(v2::container_tag::fifo, C const & cont, R const& r)
- {
+ {
BOOST_ASSIGN_V2_CHECK_AUX_CONTAINER_SIZE
BOOST_ASSIGN_V2_CHECK_AUX_CONTAINER_ELEM_AT
- C cpy = cont;
+ C cpy = cont;
for(size_type i = 0; i < n1; i++)
{
- BOOST_ASSIGN_V2_CHECK( cpy.front() == elem_at( i ) ); cpy.pop();
+ BOOST_ASSIGN_V2_CHECK( cpy.front() == elem_at( i ) ); cpy.pop();
}
BOOST_ASSIGN_V2_CHECK( cpy.empty() ); // consistency check
- }
+ }
}// check_aux
}// v2
}// assign
-}// boost
-
+}// boost
+
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,29 +13,29 @@
#include <boost/assign/v2/detail/traits/container/is_lifo.hpp>
#include <boost/assign/v2/detail/check_equal_container/pp.hpp>
-namespace boost{
-namespace assign{
+namespace boost{
+namespace assign{
namespace v2{
-namespace check_aux{
+namespace check_aux{
template<typename C, typename R>
void equal_container(v2::container_tag::lifo, C const & cont, R const& r)
- {
+ {
BOOST_ASSIGN_V2_CHECK_AUX_CONTAINER_SIZE
BOOST_ASSIGN_V2_CHECK_AUX_CONTAINER_ELEM_AT
C cpy = cont;
for(size_type i = 0; i < n1; i++)
{
- BOOST_ASSIGN_V2_CHECK(
- cpy.top() == elem_at( n1 - ( 1 + i ) )
- ); cpy.pop();
+ BOOST_ASSIGN_V2_CHECK(
+ cpy.top() == elem_at( n1 - ( 1 + i ) )
+ ); cpy.pop();
}
BOOST_ASSIGN_V2_CHECK( cpy.empty() ); // consistency check
- }
+ }
}// check_aux
}// v2
}// assign
-}// boost
-
+}// boost
+
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/pp.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/pp.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/pp.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
size_type n1 = cont.size();\
size_type n2 = boost::range_size( r );\
BOOST_ASSIGN_V2_CHECK( n2 >= n1 );\
-/**/
+/**/
#include <boost/range/iterator_range.hpp>
#define BOOST_ASSIGN_V2_CHECK_AUX_CONTAINER_ELEM_AT\
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,20 +13,20 @@
#include <boost/assign/v2/detail/config/check.hpp>
#include <boost/assign/v2/detail/traits/container/is_range.hpp>
-namespace boost{
-namespace assign{
+namespace boost{
+namespace assign{
namespace v2{
-namespace check_aux{
+namespace check_aux{
template<typename C, typename R>
void equal_container(v2::container_tag::range, C const & cont, R const& r)
- {
- BOOST_ASSIGN_V2_CHECK( boost::equal( cont, r ) );
- }
+ {
+ BOOST_ASSIGN_V2_CHECK( boost::equal( cont, r ) );
+ }
}// check_aux
}// v2
}// assign
-}// boost
-
+}// boost
+
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -12,23 +12,23 @@
#include <boost/range/algorithm/sort.hpp>
#include <boost/assign/v2/detail/check_equal_container/range.hpp>
-namespace boost{
-namespace assign{
+namespace boost{
+namespace assign{
namespace v2{
-namespace check_aux{
+namespace check_aux{
template<typename C, typename R>
void equal_container(v2::container_tag::sorted, C const & cont, R const& r)
- {
+ {
typedef v2::container_tag::range tag_;
// needed in case r is not sorted :
- C benchmark( boost::begin( r ), boost::end( r ) );
+ C benchmark( boost::begin( r ), boost::end( r ) );
equal(tag_, cont, benchmark );
- }
+ }
}// check_aux
}// v2
}// assign
-}// boost
-
+}// boost
+
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/fwd_equal_container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/fwd_equal_container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/fwd_equal_container.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -10,12 +10,12 @@
#ifndef BOOST_ASSIGN_V2_DETAIL_CHECK_FWD_EQUAL_CONTAINER_ER_2010_HPP
#define BOOST_ASSIGN_V2_DETAIL_CHECK_FWD_EQUAL_CONTAINER_ER_2010_HPP
-namespace boost{
-namespace assign{
+namespace boost{
+namespace assign{
namespace v2{
-namespace check_aux{
+namespace check_aux{
- template<typename C, typename R>
+ template<typename C, typename R>
void equal_container(C & cont, R const& r);
template<typename C, typename R>
@@ -24,6 +24,6 @@
}// check_aux
}// v2
}// assign
-}// boost
-
+}// boost
+
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/config/check.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/config/check.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/config/check.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -7,7 +7,7 @@
// Boost Software License, Version 1.0. (See accompanying file //
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_V2_CHECK
+#ifndef BOOST_ASSIGN_V2_CHECK
#include <boost/assert.hpp>
#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_ASSERT( p )
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/config/limit_arity.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/config/limit_arity.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/config/limit_arity.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,12 +16,12 @@
#if BOOST_ASSIGN_V2_LIMIT_ARITY_BOUND > BOOST_MPL_LIMIT_METAFUNCTION_ARITY
#error
-// This is required for a metafunction class that returns the result type of a
+// This is required for a metafunction class that returns the result type of a
// functors.
#endif
// Functors are by default overloaded as follows:
-//
+//
// n = BOOST_ASSIGN_V2_LIMIT_ARITY
// Overload | Arity
// -------------------------------------
Modified: sandbox/assign_v2/boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,8 +16,8 @@
// This constant defines the maximum arity for which functors are overloaded
// for any combination of lvalue and const under C++03 (the restriction does
-// not apply to C++0x). Be warned, therefore, that the number of function
-// overloads increases geometrically with this number.
+// not apply to C++0x). Be warned, therefore, that the number of function
+// overloads increases geometrically with this number.
#include <boost/assign/v2/detail/config/limit_arity.hpp>
#if BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY > BOOST_ASSIGN_V2_LIMIT_ARITY
Modified: sandbox/assign_v2/boost/assign/v2/detail/keyword/nil.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/keyword/nil.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/keyword/nil.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -11,12 +11,12 @@
#define BOOST_ASSIGN_V2_DETAIL_KEYWORD_NIL_ER_2010_HPP
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace keyword_aux{ struct nil{}; }
namespace{
const keyword_aux::nil _nil = keyword_aux::nil();
-}
+}
}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/detail/pp/params.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/pp/params.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/pp/params.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,5 +13,5 @@
#define BOOST_ASSIGN_V2_decl_params(SeqU) \
BOOST_PP_ENUM_PARAMS(BOOST_PP_SEQ_SIZE(SeqU), typename T)\
/**/
-#define BOOST_ASSIGN_V2_params(SeqU) BOOST_PP_SEQ_ENUM(SeqU)
+#define BOOST_ASSIGN_V2_params(SeqU) BOOST_PP_SEQ_ENUM(SeqU)
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/fwd.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,7 +13,7 @@
namespace std{
- // www.sgi.com/tech/stl/Deque.html
+ // www.sgi.com/tech/stl/Deque.html
template<typename T,typename A> class deque;
// http://www.sgi.com/tech/stl/List.html
@@ -22,7 +22,7 @@
// http://www.sgi.com/tech/stl/Map.html
template<typename K,typename T,typename C,typename A> class map;
- // http://www.sgi.com/tech/stl/queue.html
+ // http://www.sgi.com/tech/stl/queue.html
template<typename T,typename S> class queue;
// http://www.sgi.com/tech/stl/set.html
@@ -36,10 +36,10 @@
}// std
namespace boost{
-
+
// http://www.boost.org/doc/libs/release/doc/html/array.html
template<typename T, std::size_t size> class array;
-
+
// http://www.boost.org/doc/libs/release/libs/circular_buffer/index.html
template<typename T, typename Alloc> class circular_buffer;
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/has_push.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/has_push.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/has_push.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -20,24 +20,24 @@
namespace v2{
namespace container_traits{
- template<typename V,typename T
+ template<typename V,typename T
= typename container_traits::value<V>::type>
struct has_push{
-
+
typedef typename boost::type_traits::yes_type yes_;
typedef typename boost::type_traits::no_type no_;
-
+
template<typename U,void (U::*fp)(T const&)>
struct helper{
// See http://lists.boost.org/Archives/boost/2002/03/27233.php
};
-
+
template<typename U>
static yes_ test(U*, helper<U, &U::push>* p = 0);
static no_ test(...);
-
+
BOOST_STATIC_CONSTANT(
- bool,
+ bool,
value = sizeof( test((V*)0) ) == sizeof( yes_ )
);
@@ -47,11 +47,11 @@
template<typename V>
struct has_push_deduced_value : v2::container_traits::has_push<V>{};
-
+
}// container_traits
}// v2
}// assign
-}// boost
+}// boost
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -7,7 +7,7 @@
// Boost Software License, Version 1.0. (See accompanying file //
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_V2_TRAITS_CONTAINER_IS
+#ifndef BOOST_ASSIGN_V2_TRAITS_CONTAINER_IS
#include <boost/preprocessor/cat.hpp>
#include <boost/type_traits/remove_cv.hpp>
#include <boost/assign/v2/detail/traits/container/fwd.hpp>
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_array.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_array.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_array.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
template< class T, std::size_t sz >
class array;
-#endif
+#endif
namespace assign{
namespace v2{
@@ -27,15 +27,15 @@
template<typename V> struct is_array : ::boost::mpl::false_{};
template<typename T, std::size_t sz> struct is_array<
- boost::array<T, sz>
+ boost::array<T, sz>
> : ::boost::mpl::true_{};
-
+
}// containert_type_aux
BOOST_ASSIGN_V2_TRAITS_CONTAINER_IS(array)
}// v2
}// assign
-}// boost
+}// boost
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_associative.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_associative.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_associative.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -26,10 +26,10 @@
container_traits::is_set<V>,
container_traits::is_map<V>
>{};
-
+
}// container_traits
}// v2
}// assign
-}// boost
+}// boost
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_fifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_fifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_fifo.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -21,7 +21,7 @@
template<typename V>
struct is_fifo : ::boost::mpl::false_{};
-
+
template<typename T,typename A>
struct is_fifo< std::queue<T,A> > : ::boost::mpl::true_{};
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_lifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_lifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_lifo.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -21,7 +21,7 @@
template<typename V>
struct is_lifo : ::boost::mpl::false_{};
-
+
template<typename T,typename A>
struct is_lifo< std::stack<T,A> > : ::boost::mpl::true_{};
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_map.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_map.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_map.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,10 +23,10 @@
struct is_map : ::boost::mpl::false_{};
template<typename K,typename D,typename C,typename A>
- struct is_map<
- std::map<K,D,C,A>
+ struct is_map<
+ std::map<K,D,C,A>
> : ::boost::mpl::true_{};
-
+
}// container_traits_aux
@@ -34,6 +34,6 @@
}// v2
}// assign
-}// boost
+}// boost
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_range.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_range.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_range.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,7 +23,7 @@
struct is_range{
// purposedly left blank.
};
-
+
}// container_traits
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_set.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_set.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_set.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,8 +23,8 @@
struct is_set : ::boost::mpl::false_{};
template<typename K,typename C,typename A>
- struct is_set<
- std::set<K,C,A>
+ struct is_set<
+ std::set<K,C,A>
> : ::boost::mpl::true_{};
}// container_traits_aux
@@ -34,6 +34,6 @@
}// v2
}// assign
-}// boost
+}// boost
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_sorted.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_sorted.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is_sorted.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -21,7 +21,7 @@
template<typename V>
struct is_sorted : ::boost::mpl::false_{};
-
+
template<typename T,typename C,typename A>
struct is_sorted< std::set<T,C,A> > : ::boost::mpl::true_{};
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_fwd.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,33 +22,33 @@
class ptr_array;
template
- <
- class T,
+ <
+ class T,
class CloneAllocator,
class Allocator
>
class ptr_circular_buffer;
template
- <
- class T,
+ <
+ class T,
class CloneAllocator,
class Allocator
>
class ptr_deque;
-
+
template
- <
- class T,
+ <
+ class T,
class CloneAllocator,
class Allocator
>
class ptr_list;
template
- <
- class Key,
- class T,
+ <
+ class Key,
+ class T,
class Compare,
class CloneAllocator,
class Allocator
@@ -56,8 +56,8 @@
class ptr_map;
template
- <
- class Key,
+ <
+ class Key,
class Compare,
class CloneAllocator,
class Allocator
@@ -65,9 +65,9 @@
class ptr_set;
template
- <
- class Key,
- class T,
+ <
+ class Key,
+ class T,
class Hash,
class Pred,
class CloneAllocator,
@@ -76,8 +76,8 @@
class ptr_unordered_map;
template
- <
- class Key,
+ <
+ class Key,
class Hash,
class Pred,
class CloneAllocator,
@@ -87,8 +87,8 @@
template
- <
- class T,
+ <
+ class T,
class CloneAllocator,
class Allocator
>
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -24,15 +24,15 @@
template<typename V>
struct ptr_to_value{
-
+
struct is_applicable : ::boost::mpl::false_{};
-
+
};
namespace ptr_to_value_aux{
template<typename A,typename T> struct allocator{};
-
+
template<typename T>
struct allocator<std::allocator<void*>, T>
{
@@ -48,7 +48,7 @@
typedef typename boost::remove_reference<
typename V::reference
>::type value_type;
-
+
typedef typename ptr_to_value_aux::allocator<
typename V::allocator_type,
value_type
@@ -56,7 +56,7 @@
};
template<typename V,template<typename, std::size_t> class F>
- struct array_like{
+ struct array_like{
// there is no allocator, hence can't derive from common<V>
@@ -65,26 +65,26 @@
typedef typename boost::remove_reference<
typename V::reference
>::type value_type;
-
+
typedef F<
typename array_like::value_type,
- container_traits::static_size<V>::value
+ container_traits::static_size<V>::value
> container_type;
-
+
};
template<typename V,template<typename,typename> class F>
- struct seq_like : ptr_to_value_aux::common<V>{
+ struct seq_like : ptr_to_value_aux::common<V>{
typedef F<
typename seq_like::value_type,
typename seq_like::allocator_type
> container_type;
-
+
};
template<typename V,template<typename,typename,typename,typename> class F>
- struct map_like : ptr_to_value_aux::common<V>{
+ struct map_like : ptr_to_value_aux::common<V>{
typedef F<
typename V::key_type,
@@ -92,18 +92,18 @@
typename V::key_compare,
typename map_like::allocator_type
> container_type;
-
+
};
template<typename V,template<typename,typename,typename> class F>
- struct set_like : ptr_to_value_aux::common<V>{
+ struct set_like : ptr_to_value_aux::common<V>{
typedef F<
typename V::key_type,
typename V::key_compare,
typename set_like::allocator_type
> container_type;
-
+
};
template<typename V,
@@ -117,7 +117,7 @@
typename V::key_equal,
typename unordered_map_like::allocator_type
> container_type;
-
+
};
template<typename V,
@@ -130,10 +130,10 @@
typename V::key_equal,
typename unordered_set_like::allocator_type
> container_type;
-
+
};
-
+
}// ptr_to_value_aux
@@ -142,7 +142,7 @@
typename T,
std::size_t N,
typename A
- >
+ >
struct ptr_to_value<
boost::ptr_array<T,N,A>
> : ptr_to_value_aux::array_like<
@@ -156,7 +156,7 @@
typename T,
typename C,
typename A
- >
+ >
struct ptr_to_value<
boost::ptr_deque<T,C,A>
> : ptr_to_value_aux::seq_like<
@@ -168,7 +168,7 @@
typename T,
typename C,
typename A
- >
+ >
struct ptr_to_value<
boost::ptr_list<T,C,A>
> : ptr_to_value_aux::seq_like<
@@ -180,7 +180,7 @@
typename T,
typename C,
typename A
- >
+ >
struct ptr_to_value<
boost::ptr_vector<T,C,A>
> : ptr_to_value_aux::seq_like<
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value_container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value_container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value_container.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -20,7 +20,7 @@
struct ptr_to_value_container{
typedef typename ptr_to_value<V>::container_type type;
};
-
+
}// container_traits
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -20,10 +20,10 @@
template<typename V>
struct static_size{
-
+
// Needed as a meta-function (indirection) bec. ptr_array
// does not expose static_size.
-
+
};
template<typename T,std::size_t N>
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/value.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/value.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/value.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -24,7 +24,7 @@
// TODO
// maybe this should be
// remove_reference<V::reference>::type
- // or
+ // or
// range_value<V>, is available.
// Think about ptr_container in making this change.
template<typename V>
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/value_container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/value_container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/value_container.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -25,7 +25,7 @@
ptr_to_value_container<V>,
::boost::mpl::identity<V>
>{};
-
+
}// container_traits
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/switch.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/switch.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/switch.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -25,14 +25,14 @@
}//switch_tag
namespace switch_aux{
-
+
// Fully specialize by inheriting from wrap<Tag,F>
// To terminate the switch, inherit from wrap<Tag>
template<typename SwitchTag, int k> struct case_{};
-
+
template<typename T>
struct default_f : ::boost::mpl::true_{};
-
+
template<typename Tag, template<typename> class F = switch_aux::default_f>
struct helper
{
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -20,26 +20,26 @@
template<typename T>
struct has_value_type{
-
+
typedef typename boost::type_traits::yes_type yes_;
typedef typename boost::type_traits::no_type no_;
-
-
+
+
template<typename U>
static yes_ test(U*, typename U::value_type* p = 0);
static no_ test(...);
-
+
BOOST_STATIC_CONSTANT(
- bool,
+ bool,
value = sizeof( test((T*)0) ) == sizeof( yes_ )
);
typedef ::boost::mpl::bool_<value> type;
};
-
+
}// type_traits
}// v2
}// assign
-}// boost
+}// boost
#endif
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/type/is_stl_pair.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/type/is_stl_pair.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/type/is_stl_pair.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -20,17 +20,17 @@
// template< class T, class U >
// boost::type_traits::yes_type is_pair( const std::pair<T,U>* );
-// boost::type_traits::no_type is_pair( ... );
+// boost::type_traits::no_type is_pair( ... );
template<typename T>
struct is_stl_pair : ::boost::mpl::false_{};
-
+
template<typename T,typename U>
struct is_stl_pair< std::pair<T, U> > : ::boost::mpl::true_{};
}// type_traits
}// v2
}// assign
-}// boost
+}// boost
#endif
Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,13 +15,13 @@
#include <boost/assign/v2/put/container/functor/fwd.hpp> // consistency
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace put_aux{
- template<typename C,typename F, typename Tag>
- class adapter
- : protected ref::wrapper< ref::assign_tag::copy, C >
+ template<typename C,typename F, typename Tag>
+ class adapter
+ : protected ref::wrapper< ref::assign_tag::copy, C >
, public put_aux::crtp< C, F, Tag, adapter<C, F, Tag> >
{
typedef put_aux::crtp< C, F, Tag, adapter > super2_t;
@@ -40,22 +40,22 @@
adapter(){}
explicit adapter( C& v ) : super1_t( v ) {}
- explicit adapter( C& v, F const& f )
+ explicit adapter( C& v, F const& f )
: super1_t( v ), super2_t( f )
{
- // This constructor is required by crtp
+ // This constructor is required by crtp
// when Tag or F is modified.
}
- explicit adapter( C& v, F const& f, modifier_ const& m )
+ explicit adapter( C& v, F const& f, modifier_ const& m )
: super1_t( v ), super2_t( f, m )
{
- // This constructor is required by crtp
+ // This constructor is required by crtp
// when Tag or F is modified.
}
- C& container()const{
- return static_cast<super1_t const&>(*this).get();
+ C& container()const{
+ return static_cast<super1_t const&>(*this).get();
}
};
Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -11,12 +11,12 @@
#define BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_FWD_ER_2010_HPP
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace put_aux{
template<typename C,typename F, typename Tag> class adapter;
-
+
}// put_aux
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,7 +14,7 @@
#include <boost/assign/v2/put/container/functor/adapter.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace result_of{
Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/modulo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/modulo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/modulo.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,10 +14,10 @@
#include <boost/assign/v2/put/container/functor/fwd.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace result_of_modulo{
-
+
template<typename C,typename F, typename Tag>
struct fun< put_aux::adapter<C, F, Tag> >
{
@@ -31,7 +31,7 @@
template<typename NewTag>
struct apply{ typedef put_aux::adapter<C, F, NewTag> type; };
};
-
+
}// result_of_modulo
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/deduce/modifier.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deduce/modifier.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deduce/modifier.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -49,7 +49,7 @@
>{};
template<>
- struct case_<switch_tag::deduce_put, 3> :
+ struct case_<switch_tag::deduce_put, 3> :
switch_aux::helper<v2::modifier_tag::push_back>{};
}// switch_aux
@@ -67,7 +67,7 @@
typedef typename put_aux::deduce_modifier_tag<C>::type found_;
BOOST_MPL_ASSERT(( boost::is_same<found_, X> ));
}
-
+
}// put_aux
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/deduce/modulo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deduce/modulo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deduce/modulo.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,7 +22,7 @@
namespace v2{
namespace put_aux{
- struct kwd_deduce{};
+ struct kwd_deduce{};
template<typename T>
typename T::result_of_modulo::deduce::type
@@ -41,7 +41,7 @@
}// put_aux
namespace{
const put_aux::kwd_deduce _deduce = put_aux::kwd_deduce();
-}
+}
}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/put/ext/iterate.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/ext/iterate.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/ext/iterate.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -69,7 +69,7 @@
public:
typedef std::size_t size_type;
-
+
iterate():i( 0 ){}
iterate( size_type const& i_)
: i( i_ )
Modified: sandbox/assign_v2/boost/assign/v2/put/ext/xxx.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/ext/xxx.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/ext/xxx.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
#include <boost/type_traits/is_base_of.hpp>
// Needed by dependants
-#include <boost/assign/v2/detail/keyword/nil.hpp>
+#include <boost/assign/v2/detail/keyword/nil.hpp>
#include <boost/assign/v2/put/modulo/modifier.hpp>
#include <boost/assign/v2/put/frame/base.hpp>
Modified: sandbox/assign_v2/boost/assign/v2/put/frame/crtp.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/frame/crtp.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/frame/crtp.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -38,19 +38,19 @@
template<typename F>
struct fun_holder{
-
+
typedef F fun_type;
fun_holder(){}
fun_holder(fun_type const& f) : fun( f ){}
fun_type fun;
-
+
};
-
+
template<typename Tag>
struct modifier_holder{
-
+
typedef Tag modifier_tag;
typedef put_aux::modifier<Tag> modifier_type;
@@ -60,15 +60,15 @@
typedef put_aux::modifier<Tag> modifier_;
modifier_type modifier;
-
+
};
- // D has to model concept_sub::Pre3, with respect to container C, functor F
+ // D has to model concept_sub::Pre3, with respect to container C, functor F
// and Tag. It then models concept_sub::Post
template<typename C, typename F, typename Tag, typename D>
class crtp :
public put_base
- , public fun_holder<F>
+ , public fun_holder<F>
, public modifier_holder<Tag>
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
//do nothing
@@ -95,7 +95,7 @@
D const& derived()const{ return static_cast<D const&>(*this); }
//public:
-
+
crtp(){}
explicit crtp( F const& f ) : fun_holder_( f ){}
explicit crtp( F const& f, modifier_ const& m )
@@ -184,12 +184,12 @@
template<typename T>
void check_modifier( BOOST_ASSIGN_V2_forward_param(T, t) )const
{
- typedef put_concept::ModifierImpl<modifier_, C,
+ typedef put_concept::ModifierImpl<modifier_, C,
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
T&&
#else
T&
-#endif
+#endif
> concept_;
BOOST_CONCEPT_ASSERT(( concept_ ));
}
Modified: sandbox/assign_v2/boost/assign/v2/put/frame/modifier.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/frame/modifier.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/frame/modifier.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -12,7 +12,7 @@
#include <boost/concept_check.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace modifier_tag{
// add as necessary
@@ -29,7 +29,7 @@
}// put_aux
namespace put_concept{
- // M models ModifierImpl with respect to container V and reference
+ // M models ModifierImpl with respect to container V and reference
// (or pointer) type R
template<typename M, typename C, typename R>
struct ModifierImpl
Modified: sandbox/assign_v2/boost/assign/v2/put/frame/sub.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/frame/sub.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/frame/sub.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -21,13 +21,13 @@
// X models Pre1 wrt to V
template<typename C, typename X>
struct Pre1{
-
+
BOOST_CONCEPT_USAGE(Pre1)
{
X x( v );
C& ref = x.container();
}
-
+
private:
static C& v;
@@ -35,12 +35,12 @@
template<typename C, typename F, typename X>
struct Pre2 : Pre1<C, X>{
-
+
BOOST_CONCEPT_USAGE(Pre2)
{
X x( v, f );
}
-
+
private:
static C& v;
static F const &f;
@@ -49,14 +49,14 @@
template<typename C, typename F, typename Tag,typename X>
struct Pre3 : Pre2<C, F, X>{
-
+
typedef put_aux::modifier<Tag> modifier_;
BOOST_CONCEPT_USAGE(Pre3)
{
X x( v, f, m );
}
-
+
private:
static C& v;
static F const &f;
@@ -76,7 +76,7 @@
F const& f = x.fun;
modifier_ const& m = x.modifier;
}
-
+
private:
static X const& x;
static C& v;
Modified: sandbox/assign_v2/boost/assign/v2/put/modulo/ext.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/modulo/ext.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/modulo/ext.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -67,7 +67,7 @@
typedef result_of_modulo::modifier<T> meta1_;
typedef result_of_modulo::fun_modifier<T> meta2_;
-
+
typedef boost::is_same<fun_, old_fun_> is_same_fun_;
typedef typename ::boost::mpl::eval_if<
is_same_fun_,
@@ -105,7 +105,7 @@
};
};
-
+
}// result_of_modulo
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/modulo/fun.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/modulo/fun.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/modulo/fun.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -40,19 +40,19 @@
}
struct kwd_fun{
-
+
template<typename F>
put_modulo_aux::fun<F> operator=(F const& f)const
{
return put_modulo_aux::fun<F>( f );
}
- };
-
+ };
+
}// put_modulo_aux
namespace{
const put_modulo_aux::kwd_fun _fun = put_modulo_aux::kwd_fun();
-}
+}
}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/put/modulo/fun_modifier.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/modulo/fun_modifier.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/modulo/fun_modifier.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace boost{
namespace assign{
namespace v2{
-namespace result_of_modulo{
+namespace result_of_modulo{
template<typename T> struct fun_modifier
{
@@ -29,7 +29,7 @@
typedef typename ::boost::mpl::apply1< modifier_, Tag>::type type;
};
};
-
+
}// result_of_modulo
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/modulo/generic.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/modulo/generic.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/modulo/generic.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,8 +14,8 @@
namespace boost{
namespace assign{
namespace v2{
-namespace result_of_modulo{
-
+namespace result_of_modulo{
+
// Is this needed?
template<typename T>
struct generic_
@@ -26,9 +26,9 @@
static T t;
static P p;
typedef BOOST_TYPEOF_TPL( t % p ) type;
- };
+ };
};
-
+
}// result_of_modulo
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/modulo/modifier.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/modulo/modifier.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/modulo/modifier.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
struct kwd_modifier
{
- template<typename Tag>
+ template<typename Tag>
modifier<Tag> operator=( Tag const& t)const
{
return modifier<Tag>( t );
@@ -55,7 +55,7 @@
}// put_modulo_aux
namespace{
- put_modulo_aux::kwd_modifier const _modifier
+ put_modulo_aux::kwd_modifier const _modifier
= put_modulo_aux::kwd_modifier();
}
}// v2
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/forward.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/forward.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/forward.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
namespace v2{
namespace put_pipe_aux{
- template<csv_size_type N,
+ template<csv_size_type N,
csv_size_type I, typename F, typename C>
typename boost::enable_if_c<
N == I
@@ -28,7 +28,7 @@
)
{}
- template<csv_size_type N,
+ template<csv_size_type N,
csv_size_type I, typename F, typename C>
typename boost::enable_if_c<
I < N
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -53,7 +53,7 @@
typedef modulo_traits<Pars> modulo_traits_;
public:
-
+
typedef typename modulo_traits_::size pars_size;
typedef typename modulo_traits_::cont_ pars_cont_type;
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -20,7 +20,7 @@
namespace v2{
namespace put_pipe_aux{
- template<typename V,
+ template<typename V,
typename Pars, csv_size_type N, typename U>
V& operator|(V& v, put_pipe_aux::csv_rhs<Pars, N, U> const& c){
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
namespace put_pipe_aux{
typedef ref::list_aux::size_type csv_size_type;
-
+
}// put_pipe_aux
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -60,8 +60,8 @@
template<
typename F,
- put_pipe_aux::size_type I,
- put_pipe_aux::size_type N,
+ put_pipe_aux::size_type I,
+ put_pipe_aux::size_type N,
typename L, params(typename T)
>
void forward(
@@ -91,7 +91,7 @@
> const& list
){}
- template<typename F,
+ template<typename F,
put_pipe_aux::size_type N, typename L, params(typename T)>
void forward(
F const& f,
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -60,7 +60,7 @@
template<
typename F,
- put_pipe_aux::size_type I,
+ put_pipe_aux::size_type I,
put_pipe_aux::size_type N, typename L, typename...Args
>
void forward(
@@ -87,7 +87,7 @@
ref::list_tuple_aux::container<0, L> const& list
){}
- template<typename F,
+ template<typename F,
put_pipe_aux::size_type N, typename L, typename...Args>
void forward(
F const& f,
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
namespace put_pipe_aux{
typedef ref::list_tuple_aux::get_size_type size_type;
-
+
}// put_pipe_aux
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/modulo/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/modulo/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/modulo/size_type.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
namespace put_pipe_aux{
typedef ref::list_aux::size_type modulo_size_type;
-
+
}// put_pipe_aux
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,46 +13,46 @@
#include <boost/assign/v2/ref/array/interface.hpp>
#include <boost/assign/v2/ref/array/alloc/instant_fwd.hpp>
#include <boost/assign/v2/ref/array/impl_traits.hpp>
-
+
namespace boost{
namespace assign{
namespace v2{
namespace ref{
-namespace array_aux{
+namespace array_aux{
// template<size_type N, typename Tag, typename T>
template<size_type N, typename T>
class instant_alloc : public array_aux::interface<
typename array_aux::impl_traits<N, T>::array_type,
-// instant_alloc<N, Tag, T>
- instant_alloc<N, T>
+// instant_alloc<N, Tag, T>
+ instant_alloc<N, T>
>
{
typedef typename array_aux::impl_traits<N, T>::array_type impl_;
-
+
public:
- instant_alloc(){}
+ instant_alloc(){}
template<typename L>
instant_alloc(const L& l){
- assign_array(
+ assign_array(
this->array,
l
- );
- }
-
- impl_& impl(){
+ );
+ }
+
+ impl_& impl(){
return this->array;
}
- impl_ const & impl()const{
+ impl_ const & impl()const{
return this->array;
}
-
+
protected:
mutable impl_ array;
-
+
};
}// array_aux
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant_fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant_fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant_fwd.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -10,7 +10,7 @@
#ifndef BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_INSTANT_FWD_ER_2010_HPP
#define BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_INSTANT_FWD_ER_2010_HPP
#include <boost/assign/v2/ref/array/size_type.hpp>
-
+
namespace boost{
namespace assign{
namespace v2{
@@ -18,12 +18,12 @@
namespace alloc_tag{
struct instant_alloc{};
}// alloc_tag
-namespace array_aux{
+namespace array_aux{
// template<size_type N, typename Tag, typename T> class instant_alloc;
template<size_type N, typename T> class instant_alloc;
-}// array_aux
-}// ref
-}// v2
+}// array_aux
+}// ref
+}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,65 +14,65 @@
#include <boost/assign/v2/ref/array/alloc/lazy_fwd.hpp>
#include <boost/assign/v2/ref/array/interface.hpp>
#include <boost/assign/v2/ref/array/impl_traits.hpp>
-
+
namespace boost{
namespace assign{
namespace v2{
namespace ref{
-namespace array_aux{
-
+namespace array_aux{
+
// template<std::size_t N,typename Tag, typename T, typename D>
template<std::size_t N,typename T, typename D>
class lazy_alloc : public array_aux::interface<
- typename array_aux::impl_traits<N, T>::array_type,
-// lazy_alloc<N,Tag,T,D>
- lazy_alloc<N, T, D>
+ typename array_aux::impl_traits<N, T>::array_type,
+// lazy_alloc<N,Tag,T,D>
+ lazy_alloc<N, T, D>
>
{
typedef typename array_aux::impl_traits<N, T>::array_type impl_;
typedef ::boost::mpl::int_<N> size_;
-
+
void alloc_if()const{
if(!this->ptr){
return this->alloc();
}
}
- void alloc()const{
+ void alloc()const{
this->ptr = smart_ptr_(new impl_);
assign_array(
*this->ptr,
static_cast<const D&>(*this)
- );
+ );
}
typedef array_aux::interface<impl_, lazy_alloc> super_t;
-
+
public:
- impl_& impl(){
+ impl_& impl(){
this->alloc_if();
return (*this->ptr);
}
- impl_ const & impl()const{
+ impl_ const & impl()const{
this->alloc_if();
return (*this->ptr);
}
-
+
using super_t::operator[];
-
+
private:
-
+
typedef boost::shared_ptr<impl_> smart_ptr_;
mutable smart_ptr_ ptr;
};
}// array_aux
-}// ref
-}// v2
+}// ref
+}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy_fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy_fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy_fwd.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -9,8 +9,8 @@
//////////////////////////////////////////////////////////////////////////////
#ifndef BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_LAZY_FWD_ER_2010_HPP
#define BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_LAZY_FWD_ER_2010_HPP
-#include <boost/assign/v2/ref/array/size_type.hpp>
-
+#include <boost/assign/v2/ref/array/size_type.hpp>
+
namespace boost{
namespace assign{
namespace v2{
@@ -18,13 +18,13 @@
namespace alloc_tag{
struct lazy_alloc{};
}// alloc_tag
-namespace array_aux{
+namespace array_aux{
template<size_type N, typename T, typename D>
// template<std::size_t N, typename Tag, typename T, typename D>
class lazy_alloc;
-}// array_aux
-}// ref
-}// v2
+}// array_aux
+}// ref
+}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -26,7 +26,7 @@
namespace nth_result_of{
template<std::size_t N, typename T>
- struct csv_array
+ struct csv_array
{
typedef ref::array_tag1_ tag1_;
// typedef array_aux::instant_alloc<N, tag1_, T> type;
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,7 +22,7 @@
template<typename T>
struct empty_array : ref::empty_list<list_aux::array_tag>{};
-
+
template<size_type N, typename T>
struct recursive_result
{
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -11,13 +11,13 @@
#define BOOST_ASSIGN_V2_REF_ARRAY_IMPL_TRAITS_ER_2010_HPP
#include <boost/array.hpp>
#include <boost/assign/v2/ref/wrapper.hpp>
-#include <boost/assign/v2/ref/array/size_type.hpp>
-
+#include <boost/assign/v2/ref/array/size_type.hpp>
+
namespace boost{
namespace assign{
namespace v2{
namespace ref{
-namespace array_aux{
+namespace array_aux{
template<size_type N, typename T, typename Tag = ref::assign_tag::copy>
struct impl_traits
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/interface.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/interface.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/interface.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -47,11 +47,11 @@
typedef cimpl_ crange_;
typedef typename boost::range_iterator<range_>::type iterator;
typedef typename boost::range_iterator<crange_>::type const_iterator;
-
+
typedef typename boost::range_value<range_>::type value_type;
typedef typename boost::range_reference<range_>::type reference;
typedef typename boost::range_reference<crange_>::type const_reference;
-
+
typedef typename ref::result_of::get<wrapper_>::type result_of_get_;
typedef typename boost::call_traits<inner_type>::param_type param_type;
Modified: sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
#include <boost/assign/v2/ref/convert_traits/reference.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace ref{
namespace convert_traits{
@@ -23,9 +23,9 @@
template<typename T1, typename T2, typename T3>
struct tester{
-
+
typedef typename convert_traits::reference<T1, T2>::type result_;
-
+
static void test()
{
BOOST_MPL_ASSERT((boost::is_same<result_,T3>));
@@ -39,25 +39,25 @@
void do_check()
{
- tester<const T &, const T &, const T &>::test();
- tester<const T &, T &, const T &>::test();
- tester< T &, const T &, const T &>::test();
- tester< T &, T &, T &>::test();
-
- tester<const T &, const T , const T >::test();
- tester<const T &, T , const T >::test();
- tester< T &, const T , const T >::test();
- tester< T &, T , T >::test();
-
- tester<const T , const T &, const T >::test();
- tester<const T , T &, const T >::test();
- tester< T , const T &, const T >::test();
- tester< T , T &, T >::test();
-
- tester<const T , const T , const T >::test();
- tester<const T , T , const T >::test();
- tester< T , const T , const T >::test();
- tester< T , T , T >::test();
+ tester<const T &, const T &, const T &>::test();
+ tester<const T &, T &, const T &>::test();
+ tester< T &, const T &, const T &>::test();
+ tester< T &, T &, T &>::test();
+
+ tester<const T &, const T , const T >::test();
+ tester<const T &, T , const T >::test();
+ tester< T &, const T , const T >::test();
+ tester< T &, T , T >::test();
+
+ tester<const T , const T &, const T >::test();
+ tester<const T , T &, const T >::test();
+ tester< T , const T &, const T >::test();
+ tester< T , T &, T >::test();
+
+ tester<const T , const T , const T >::test();
+ tester<const T , T , const T >::test();
+ tester< T , const T , const T >::test();
+ tester< T , T , T >::test();
}
@@ -67,28 +67,28 @@
namespace distinct_value_type{
template<typename T1,typename T2,typename T3>
- void do_check_impl(const T1&, const T2& ,const T3&)
+ void do_check_impl(const T1&, const T2& ,const T3&)
{
-
- tester<const T1&, const T2&, const T3 >::test();
- tester<const T1&, T2&, const T3 >::test();
- tester< T1&, const T2&, const T3 >::test();
- tester< T1&, T2&, T3 >::test();
-
- tester<const T1&, const T2 , const T3 >::test();
- tester<const T1&, T2 , const T3 >::test();
- tester< T1&, const T2 , const T3 >::test();
- tester< T1&, T2 , T3 >::test();
-
- tester<const T1 , const T2&, const T3 >::test();
- tester<const T1 , T2&, const T3 >::test();
- tester< T1 , const T2&, const T3 >::test();
- tester< T1 , T2&, T3 >::test();
-
- tester<const T1 , const T2 , const T3 >::test();
- tester<const T1 , T2 , const T3 >::test();
- tester< T1 , const T2 , const T3 >::test();
- tester< T1 , T2 , T3 >::test();
+
+ tester<const T1&, const T2&, const T3 >::test();
+ tester<const T1&, T2&, const T3 >::test();
+ tester< T1&, const T2&, const T3 >::test();
+ tester< T1&, T2&, T3 >::test();
+
+ tester<const T1&, const T2 , const T3 >::test();
+ tester<const T1&, T2 , const T3 >::test();
+ tester< T1&, const T2 , const T3 >::test();
+ tester< T1&, T2 , T3 >::test();
+
+ tester<const T1 , const T2&, const T3 >::test();
+ tester<const T1 , T2&, const T3 >::test();
+ tester< T1 , const T2&, const T3 >::test();
+ tester< T1 , T2&, T3 >::test();
+
+ tester<const T1 , const T2 , const T3 >::test();
+ tester<const T1 , T2 , const T3 >::test();
+ tester< T1 , const T2 , const T3 >::test();
+ tester< T1 , T2 , T3 >::test();
}
@@ -105,7 +105,7 @@
*/
/**/
/*
-// don't try to guess the supertype, it may vary by compiler.
+// don't try to guess the supertype, it may vary by compiler.
namespace supertype_{
typedef boost::numeric::conversion_traits<short, int>::supertype a_;
typedef boost::numeric::conversion_traits<int, long>::supertype b_;
Modified: sandbox/assign_v2/boost/assign/v2/ref/convert_traits/const.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/convert_traits/const.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/convert_traits/const.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,22 +15,22 @@
#include <boost/assign/v2/ref/convert_traits/value.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace ref{
namespace convert_traits{
template<
- typename T1, typename T2, bool is_c
+ typename T1, typename T2, bool is_c
= boost::is_const<T1>::value || boost::is_const<T2>::value
>
struct const_
{
- typedef typename convert_traits::value<
- typename boost::remove_cv<T1>::type,
+ typedef typename convert_traits::value<
+ typename boost::remove_cv<T1>::type,
typename boost::remove_cv<T2>::type
>::type type;
-
+
};
template<typename T1, typename T2>
Modified: sandbox/assign_v2/boost/assign/v2/ref/convert_traits/reference.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/convert_traits/reference.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/convert_traits/reference.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -13,17 +13,17 @@
#include <boost/assign/v2/ref/convert_traits/const.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace ref{
namespace convert_traits{
template<typename U1, typename U2>
struct reference : convert_traits::const_<
- typename boost::remove_reference<U1>::type,
+ typename boost::remove_reference<U1>::type,
typename boost::remove_reference<U2>::type
>{};
-
+
template<typename T>
struct reference<T&, T&>{ typedef T& type; };
Modified: sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -12,13 +12,13 @@
#include <boost/type_traits/is_convertible.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace ref{
namespace convert_traits{
template<
- typename V1, typename V2,
+ typename V1, typename V2,
bool is_c1 = boost::is_convertible<V1, V2>::value,
bool is_c2 = boost::is_convertible<V2, V1>::value
>
@@ -28,7 +28,7 @@
struct value<V1, V2, false, true>{ typedef V2 type; };
template<typename V1, typename V2> struct value<V1, V2, false, false>{};
-
+
// TODO upgrade
// #include <boost/type_traits/is_arithmetic.hpp>
// #include <boost/numeric/conversion/conversion_traits.hpp>
@@ -37,7 +37,7 @@
// boost::numeric::conversion_traits<V1, V2>::supertype.
// ... as above ...
// >{};
-
+
}// convert_traits
}// ref
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -42,7 +42,7 @@
{
// Un-defined bec. V1 and V2 must be identical
};
-
+
template<typename U1, typename U2, typename V>
struct policy_helper1<U1, U2, V, V> : boost::mpl::eval_if<
boost::is_const<U1>
@@ -50,8 +50,8 @@
, ::boost::mpl::identity<U2>
>{
// If one const, always const.
- };
-
+ };
+
template<typename U1 // old result
,typename U2, typename L // container<Tag, U2, L>
>
@@ -64,12 +64,12 @@
new_u1_, prior_u2_, prior_l_
>::type type;
};
-
+
template<typename U1>
struct policy_helper2<U1, void_, nil >
{
// Reached root
- typedef U1 type;
+ typedef U1 type;
};
template<typename U2, typename L>
@@ -89,7 +89,7 @@
template<>
struct policy<array_tag>
{
-
+
template<typename H = void_, typename T = nil>
struct apply
{
@@ -104,7 +104,7 @@
> type;
};
- };
+ };
}// list_aux
}// ref
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -25,7 +25,7 @@
namespace list_aux{
template<size_type I, typename T>
- struct is_head :
+ struct is_head :
::boost::mpl::bool_< I + 1 == T::size::value>{};
namespace result_of{
@@ -36,7 +36,7 @@
,head_reference<T>
,result_of::at<I, typename tail_of<T>::type>
>{};
-
+
}// result_of
template<size_type I, typename T>
@@ -48,7 +48,7 @@
{
return t.head();
}
-
+
template<size_type I, typename T>
typename boost::lazy_disable_if<
is_head<I, T>,
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -29,8 +29,8 @@
namespace list_aux{
template<typename Tag, typename H, typename T>
- class container :
- public head_holder<H>,
+ class container :
+ public head_holder<H>,
public tail_holder<T>,
public ::boost::mpl::apply2<policy<Tag>, H, T>::type
{
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/converter.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/converter.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/converter.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -19,10 +19,10 @@
namespace list_aux{
#define SEQ (Tag)(H)(T)
-#define U container<Tag, H, T>
+#define U container<Tag, H, T>
BOOST_ASSIGN_V2_CONVERTER(U, SEQ)
#undef U
-#undef SEQ
+#undef SEQ
}// list_aux
}// ref
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -24,7 +24,7 @@
template<typename Tag, typename H = void_, typename T = nil>
class container;
-
+
}// list_aux
}// ref
}// v2
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/holder/tail.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/holder/tail.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/holder/tail.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -27,16 +27,16 @@
typedef T tail_type;
typedef ::boost::mpl::int_<T::size::value+1> size;
tail_holder(T const& t) : tail_( t ){}
-
+
typedef T const& result_of_tail_type;
result_of_tail_type tail()const{ return this->tail_; }
-
+
private:
T const& tail_;
};
template<>
- struct tail_holder<nil>
+ struct tail_holder<nil>
{
typedef nil tail_type;
typedef ::boost::mpl::int_<0> size;
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -20,7 +20,7 @@
template<typename Tag>
struct empty_list{ typedef list_aux::container<Tag> type; };
-
+
template<typename Tag>
typename empty_list<Tag>::type
list( keyword_aux::nil )
Modified: sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
namespace list_aux{
typedef int size_type;
-
+
}// list_aux
}// ref
}// v2
Modified: sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp03/container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp03/container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp03/container.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -94,7 +94,7 @@
struct apply : NewState::template result<params(T)>{};
};
- template<list_tuple_aux::get_size_type N,
+ template<list_tuple_aux::get_size_type N,
typename L, params_default(typename T, na_type)>
class container;
Modified: sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp0x/container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp0x/container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list_tuple/cpp0x/container.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -29,7 +29,7 @@
namespace ref{
namespace list_tuple_aux{
- template<list_tuple_aux::get_size_type N,
+ template<list_tuple_aux::get_size_type N,
typename L, typename...Args> class container;
template<list_tuple_aux::get_size_type N, typename L, typename...Args>
Modified: sandbox/assign_v2/boost/assign/v2/ref/list_tuple/extraction.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list_tuple/extraction.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list_tuple/extraction.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,7 +22,7 @@
namespace ref{
namespace list_tuple_aux{
- template<list_tuple_aux::get_size_type N,
+ template<list_tuple_aux::get_size_type N,
typename L, typename T, typename D>
class extraction
{
Modified: sandbox/assign_v2/boost/assign/v2/ref/list_tuple/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list_tuple/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list_tuple/size_type.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace v2{
namespace ref{
namespace list_tuple_aux{
-
+
typedef int tuple_size_type;
typedef int get_size_type;
Modified: sandbox/assign_v2/boost/assign/v2/ref/wrapper/adaptor_get.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/wrapper/adaptor_get.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/wrapper/adaptor_get.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -25,7 +25,7 @@
#include <boost/assign/v2/ref/wrapper/get.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace ref{
namespace range_aux{
@@ -33,14 +33,14 @@
template<typename R>
struct range_get{
-
+
typedef ref::get_functor f_;
#ifdef BOOST_MSVC
- typedef boost::iterator_range<
+ typedef boost::iterator_range<
boost::transform_iterator< f_,
- BOOST_DEDUCED_TYPENAME boost::range_iterator<R>::type
+ BOOST_DEDUCED_TYPENAME boost::range_iterator<R>::type
>
- > type;
+ > type;
#else
typedef boost::range_detail::transform_range<f_, R> type;
#endif
@@ -78,7 +78,7 @@
}
struct get_adaptor{};
-
+
template<typename R>
typename range_aux::result_of::range_get<R>::type
operator|(R& r, get_adaptor){
Modified: sandbox/assign_v2/boost/assign/v2/ref/wrapper/crtp.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/wrapper/crtp.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/wrapper/crtp.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -18,18 +18,18 @@
#include <boost/call_traits.hpp>
#include <boost/operators.hpp>
-// This design is an outgrowth of assign_detail::assign_reference<> by TO.
+// This design is an outgrowth of assign_detail::assign_reference<> by TO.
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace ref{
-
+
template<typename D, typename T>
- class wrapper_crtp
- :
- boost::less_than_comparable1<
- wrapper_crtp<D,T>,
+ class wrapper_crtp
+ :
+ boost::less_than_comparable1<
+ wrapper_crtp<D,T>,
boost::less_than_comparable2<
wrapper_crtp<D,T>,
T,
@@ -47,7 +47,7 @@
typedef typename boost::remove_const<T>::type lvalue_;
typedef typename boost::add_const<T>::type rvalue_;
- public:
+ public:
// protected
D& derived(){ return static_cast<D&>( *this ); }
@@ -92,7 +92,7 @@
{
return this->derived().get() > r;
}
-
+
template<class CharT, class Traits>
friend std::basic_ostream<CharT,Traits>&
operator<<(std::basic_ostream<CharT,Traits>& os,
Modified: sandbox/assign_v2/boost/assign/v2/ref/wrapper/get.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/wrapper/get.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/wrapper/get.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
#include <boost/type_traits/remove_cv.hpp>
namespace boost{
-namespace assign{
+namespace assign{
namespace v2{
namespace ref{
namespace result_of{
@@ -38,20 +38,20 @@
>::type
get(W const& w)
{
- return w.get();
+ return w.get();
}
// Functor
struct get_functor
{
-
+
template<typename S>
struct result{};
-
+
template<typename F, typename T>
struct result<F(T)> : ref::result_of::get<T>{};
-
+
template<typename W>
typename boost::lazy_enable_if<
boost::is_reference_wrapper<W>,
@@ -61,7 +61,7 @@
{
return get( w );
}
-
+
};
}// ref
Modified: sandbox/assign_v2/boost/assign/v2/utility/chain/adaptor.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/adaptor.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/adaptor.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -34,29 +34,29 @@
>
struct adaptor2
{
-
+
adaptor2(){}
-
+
template<typename U>
- struct result{
- typedef chain_aux::adaptor1<U, Tag1, Tag2> type;
+ struct result{
+ typedef chain_aux::adaptor1<U, Tag1, Tag2> type;
static type call(U& u){ return type( u ); }
};
-
+
template<typename R>
typename result<R>::type
- operator()(R& r)const{
- return result<R>::call ( r );
+ operator()(R& r)const{
+ return result<R>::call ( r );
}
template<typename R>
typename result<R const>::type
- operator()(R const& r)const{
- return result<R const>::call( r );
+ operator()(R const& r)const{
+ return result<R const>::call( r );
}
-
+
};
-
+
}// chain_aux
namespace{
const chain_aux::adaptor2<> _chain = chain_aux::adaptor2<>();
Modified: sandbox/assign_v2/boost/assign/v2/utility/chain/check.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/check.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/check.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -33,13 +33,13 @@
template<typename cr1_, typename cr2_, bool the_value>
void verify_use_lvalue()
{
- typedef v2::chain_aux::use_lvalue<cr1_, cr2_> use_lvalue_;
- BOOST_STATIC_ASSERT( use_lvalue_::value == the_value );
- typedef typename ::boost::mpl::eval_if_c<
- the_value,
+ typedef v2::chain_aux::use_lvalue<cr1_, cr2_> use_lvalue_;
+ BOOST_STATIC_ASSERT( use_lvalue_::value == the_value );
+ typedef typename ::boost::mpl::eval_if_c<
+ the_value,
::boost::mpl::identity<boost::mpl::void_>, // why?
- v2::result_of::chain<cr1_, cr2_>
- >::type result_;
+ v2::result_of::chain<cr1_, cr2_>
+ >::type result_;
}
template<bool x, typename T>
@@ -53,30 +53,30 @@
namespace as2 = assign::v2;
// Value container
typedef std::vector<T> vec_t_;
- typedef typename add_const_if<qual_v1, vec_t_ >::type vec1_;
+ typedef typename add_const_if<qual_v1, vec_t_ >::type vec1_;
typedef typename as2::ref::copy_wrapper<
typename add_const_if<qual_e2, T>::type
- >::type w_;
+ >::type w_;
typedef vec1_ r1_; // alias
// Ref-wrappers
typedef std::vector<w_> vec_w_;
- typedef typename add_const_if<qual_v2, vec_w_ >::type vec2_;
+ typedef typename add_const_if<qual_v2, vec_w_ >::type vec2_;
// Transformation through range_get (necessary)
- typedef typename ref::result_of::range_get<vec2_>::type r2_;
+ typedef typename ref::result_of::range_get<vec2_>::type r2_;
- {
+ {
typedef r1_ cr1_;
typedef r2_ cr2_;
verify_use_lvalue<cr1_, cr2_, the_value>();
verify_use_lvalue<cr2_, cr1_, the_value>();
- }
- {
+ }
+ {
typedef r1_ cr1_;
typedef r2_ const cr2_;
verify_use_lvalue<cr1_, cr2_, the_value>();
verify_use_lvalue<cr2_, cr1_, the_value>();
- }
+ }
}
template<typename T>
@@ -105,7 +105,7 @@
verify_mpl<T, true , true , true , false >();
}
-
+
template<typename T>
void exec()
{
@@ -135,8 +135,8 @@
vt,
boost::begin( vt1 | as2::_chain( vt2 ) | as2::_chain( vt3 ) )
);
- BOOST_ASSIGN_V2_CHECK(
- boost::equal( vt1 | as2::_chain( vt2 ) , vt )
+ BOOST_ASSIGN_V2_CHECK(
+ boost::equal( vt1 | as2::_chain( vt2 ) , vt )
);
}
{
@@ -150,13 +150,13 @@
T x = -1, y = -1, z = -1;
boost::array<w_, 3> vw2;
- vw2[0].rebind( x );
- vw2[1].rebind( y );
- vw2[2].rebind( z );
+ vw2[0].rebind( x );
+ vw2[1].rebind( y );
+ vw2[2].rebind( z );
boost::copy(
vt,
- boost::begin(
- vt1 | as2::_chain(
+ boost::begin(
+ vt1 | as2::_chain(
vw2 | ref::_get // necessary
) | as2::_chain( vt3 ) )
);
@@ -171,7 +171,7 @@
BOOST_ASSIGN_V2_CHECK( vt3[2] == vt[7] );
}
// suppresses warning unused
- if(x && y && z){}
+ if(x && y && z){}
}
}// exec
Modified: sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,7 +22,7 @@
namespace chain_aux{
template<
- typename It1,
+ typename It1,
typename It2,
typename Tag
>
@@ -37,17 +37,17 @@
ref1_,
ref2_
>::type reference;
-
+
typedef typename boost::remove_reference<reference>::type value_type;
-
+
typedef boost::range_detail::join_iterator<
It1
,It2
,value_type
,reference
- // , boost::single_pass_traversal_tag
+ // , boost::single_pass_traversal_tag
> type;
};
Modified: sandbox/assign_v2/boost/assign/v2/utility/chain/range.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/range.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/range.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -28,7 +28,7 @@
Tag
>::type iterator_t;
typedef boost::iterator_range< iterator_t > type;
-
+
static type call(R1& r1, R2& r2)
{
BOOST_CONCEPT_ASSERT((SinglePassRangeConcept<R1>));
@@ -48,7 +48,7 @@
template<typename R1, typename R2, typename Tag>
struct range_l
: chain_aux::range< R1, R2, boost::range_iterator,Tag>{};
-
+
template<typename R1, typename R2, typename Tag>
struct range_r
: chain_aux::range<R1, R2, boost::range_const_iterator,Tag>{};
Modified: sandbox/assign_v2/boost/assign/v2/utility/chain/result.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/result.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/result.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -19,16 +19,16 @@
namespace v2{
namespace chain_aux{
- template<typename R1,typename R2,typename Tag = use_default>
+ template<typename R1,typename R2,typename Tag = use_default>
struct result{
typedef typename ::boost::mpl::eval_if<
chain_aux::use_lvalue<R1,R2,Tag>,
boost::mpl::identity< chain_aux::range_l<R1, R2, Tag> >,
boost::mpl::identity< chain_aux::range_r<R1, R2, Tag> >
>::type caller_;
-
+
typedef typename caller_::type type;
-
+
static type call(R1& r1, R2& r2)
{
return caller_::call( r1, r2 );
Modified: sandbox/assign_v2/boost/assign/v2/utility/chain/use_lvalue.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/use_lvalue.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/use_lvalue.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -26,23 +26,23 @@
namespace v2{
namespace chain_aux{
- template<typename U1, typename U2,
+ template<typename U1, typename U2,
bool is_r = boost::is_reference<U1>::value,
bool is_c = boost::is_const<
typename boost::remove_reference<U1>::type
>::value
>
struct use_lvalue_impl : ::boost::mpl::false_{};
-
+
template<typename U>
struct use_lvalue_impl<U, U, true, false> : ::boost::mpl::true_{};
- template<typename R1, typename R2, typename Tag = use_default>
+ template<typename R1, typename R2, typename Tag = use_default>
struct use_lvalue : use_lvalue_impl<
typename boost::range_reference<R1>::type,
typename boost::range_reference<R2>::type
>{};
-
+
}// chain_aux
}// v2
}// assign
Modified: sandbox/assign_v2/boost/assign/v2/utility/convert/check.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/convert/check.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/convert/check.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -47,7 +47,7 @@
{
namespace as2 = boost::assign::v2;
namespace ns = check_aux;
-
+
typedef boost::array<int, 8> ar_;
typedef std::deque<int> deque_;
typedef std::list<int> list_;
@@ -55,52 +55,52 @@
typedef std::set<int> set_;
typedef std::stack<int> stack_;
typedef std::vector<int> vec_;
-
+
BOOST_MPL_ASSERT(( as2::convert_aux::use_put<ar_, R> ));
BOOST_MPL_ASSERT(( as2::convert_aux::use_put<stack_, R> ));
BOOST_MPL_ASSERT(( as2::convert_aux::use_put<queue_, R> ));
BOOST_MPL_ASSERT_NOT(( as2::convert_aux::use_put<deque_, R> ));
BOOST_MPL_ASSERT_NOT(( as2::convert_aux::use_put<list_, R> ));
BOOST_MPL_ASSERT_NOT(( as2::convert_aux::use_put<set_, R> ));
- BOOST_MPL_ASSERT_NOT(( as2::convert_aux::use_put<vec_, R> ));
+ BOOST_MPL_ASSERT_NOT(( as2::convert_aux::use_put<vec_, R> ));
- BOOST_MPL_ASSERT(( boost::is_same<
+ BOOST_MPL_ASSERT(( boost::is_same<
typename as2::convert_aux::deduce_tag<ar_, R>::type,
convert_tag::put
>
));
- BOOST_MPL_ASSERT(( boost::is_same<
+ BOOST_MPL_ASSERT(( boost::is_same<
typename as2::convert_aux::deduce_tag<stack_, R>::type,
convert_tag::put
>
));
- BOOST_MPL_ASSERT(( boost::is_same<
+ BOOST_MPL_ASSERT(( boost::is_same<
typename as2::convert_aux::deduce_tag<queue_, R>::type,
convert_tag::put
>
));
- BOOST_MPL_ASSERT(( boost::is_same<
+ BOOST_MPL_ASSERT(( boost::is_same<
typename as2::convert_aux::deduce_tag<deque_, R>::type,
convert_tag::copy
>
));
- BOOST_MPL_ASSERT(( boost::is_same<
+ BOOST_MPL_ASSERT(( boost::is_same<
typename as2::convert_aux::deduce_tag<list_, R>::type,
convert_tag::copy
>
));
- BOOST_MPL_ASSERT(( boost::is_same<
+ BOOST_MPL_ASSERT(( boost::is_same<
typename as2::convert_aux::deduce_tag<set_, R>::type,
convert_tag::copy
>
));
- BOOST_MPL_ASSERT(( boost::is_same<
+ BOOST_MPL_ASSERT(( boost::is_same<
typename as2::convert_aux::deduce_tag<vec_, R>::type,
convert_tag::copy
>
));
-
+
// R as 2nd arg is explicit in case it is the same as the 1st arg
ns::equal_convert<queue_, R >( r );
ns::equal_convert<stack_, R >( r );
Modified: sandbox/assign_v2/boost/assign/v2/utility/convert/converter.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/convert/converter.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/convert/converter.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,15 +23,15 @@
template<typename U>
class converter
{
-
+
typedef typename ref::copy_wrapper<
U const
>::type wrapper_;
-
+
public:
-
+
explicit converter(U const& u) : w( u ){}
-
+
template<typename T>
operator T () const
{
@@ -53,10 +53,10 @@
}// convert_aux
template<typename U>
- convert_aux::converter<U>
- converter(U const& u){
- typedef convert_aux::converter<U> result_;
- return result_( u );
+ convert_aux::converter<U>
+ converter(U const& u){
+ typedef convert_aux::converter<U> result_;
+ return result_( u );
}
}// v2
@@ -68,11 +68,11 @@
// template<typename A, typename B, typename C> cont;
// }
// is done by expanding this macro:
-// #define SEQ (A)(B)(C)
+// #define SEQ (A)(B)(C)
// namespace ns{
// BOOST_ASSIGN_V2_CONVERTER( cont<A,B,C>, SEQ )
// }
-//
+//
#include <boost/preprocessor/seq/enum.hpp>
#include <boost/preprocessor/seq/transform.hpp>
@@ -102,7 +102,7 @@
typedef convert_aux::converter< U > result_; \
return result_( cont );\
}\
-/**/
+/**/
#endif
#endif
Modified: sandbox/assign_v2/boost/assign/v2/utility/convert/deduce.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/convert/deduce.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/convert/deduce.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -32,7 +32,7 @@
>{};
template<>
- struct case_<switch_tag::deduce_convert, 1> :
+ struct case_<switch_tag::deduce_convert, 1> :
convert_aux::helper<v2::convert_tag::copy>{};
}// switch_aux
Modified: sandbox/assign_v2/boost/assign/v2/utility/convert/dispatch.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/convert/dispatch.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/convert/dispatch.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,9 +23,9 @@
namespace convert_aux{
template<typename T, typename U>
- T dispatch(U const& u, convert_tag::put)
+ T dispatch(U const& u, convert_tag::put)
{
- T t;
+ T t;
return (t | v2::_put_range( u ) );
}
Modified: sandbox/assign_v2/boost/assign/v2/utility/convert/helper.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/convert/helper.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/convert/helper.hpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,20 +15,20 @@
namespace assign{
namespace v2{
namespace convert_aux{
-
+
// This is in replacement of switch_aux::helper since here we need
// two arguments.
-
+
template<typename T, typename U>
struct default_f : ::boost::mpl::true_{};
-
- template<typename Tag,
+
+ template<typename Tag,
template<typename, typename> class F = convert_aux::default_f>
struct helper
{
typedef Tag tag;
template<typename T> // T must derive from mpl::pair<>
- struct apply
+ struct apply
: F<typename T::first, typename T::second>
{
};
Modified: sandbox/assign_v2/libs/assign/v2/speed/tools.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/speed/tools.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/speed/tools.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,7 +14,7 @@
#include <libs/assign/v2/speed/tools.h>
// http://code.google.com/p/truffle/source/browse/trunk/include/mpg/TimeIt.h
-// http://code.google.com/p/truffle/source/browse/trunk/include/mpg/Random.h
+// http://code.google.com/p/truffle/source/browse/trunk/include/mpg/Random.h
// http://www.eternallyconfuzzled.com/arts/jsw_art_rand.aspx
inline double uniform_deviate ( int seed )
@@ -22,7 +22,7 @@
return seed * ( 1.0 / ( RAND_MAX + 1.0 ) );
}
inline int rand(int M, int N) // Range [M..N)
-{
+{
return int(M + uniform_deviate(std::rand()) * (N - M));
}
char rand_letter()
@@ -37,18 +37,18 @@
return result;
}
-std::vector<int>
+std::vector<int>
rand_vec(int max_n)
{
std::vector<int> result(
(std::size_t)mpg::rand(1, max_n)
);
std::generate(
- result.begin(),
- result.end(),
+ result.begin(),
+ result.end(),
boost::bind(
- &mpg::rand,
- 0,
+ &mpg::rand,
+ 0,
20
)
);
@@ -66,60 +66,60 @@
template<class Proc>
double time_it_impl(Proc proc, int N) // returns time in microseconds
- {
+ {
std::clock_t const start = std::clock();
for(int i = 0; i < N; ++i)
proc();
- std::clock_t const end = std::clock();
- if(clock_diff_to_sec(end - start) < .2)
- return time_it_impl(proc, N * 5);
+ std::clock_t const end = std::clock();
+ if(clock_diff_to_sec(end - start) < .2)
+ return time_it_impl(proc, N * 5);
return clock_diff_to_sec(end - start) * (1e6 / N);
- }
-
+ }
+
template<class Proc, class Result>
double time_it_impl(Proc proc, Result & result, int N) // returns time in microseconds
- {
+ {
std::clock_t const start = std::clock();
for(int i = 0; i < N; ++i)
result = proc();
- std::clock_t const end = std::clock();
- if(clock_diff_to_sec(end - start) < .2)
- return time_it_impl(proc, result, N * 5);
+ std::clock_t const end = std::clock();
+ if(clock_diff_to_sec(end - start) < .2)
+ return time_it_impl(proc, result, N * 5);
return clock_diff_to_sec(end - start) * (1e6 / N);
}
}
-
+
template<class Proc>
double time_it(Proc proc) // returns time in microseconds
- {
+ {
return detail::time_it_impl(proc, 1);
- }
-
+ }
+
template<class Proc, class Result>
double time_it(Proc proc, Result & result) // returns time in microseconds
- {
+ {
return detail::time_it_impl(proc, result, 1);
- }
-}
+ }
+}
namespace mpg
{
inline double rand_dbl()
- {
+ {
return double(::rand()) / RAND_MAX;
}
-
+
inline double rand_dbl(double M, double N)
- {
+ {
return M + rand_dbl() * (N - M);
}
-
+
// http://www.eternallyconfuzzled.com/arts/jsw_art_rand.aspx
inline int rand(int M, int N) // Range (M..N)
- {
+ {
return int(M + std::rand() * ( 1.0 / ( RAND_MAX + 1.0 )) * (N - M));
}
-
+
inline char rand_letter()
{
return char(rand('a', 'z' + 1));
@@ -133,6 +133,6 @@
result.push_back(rand_letter());
return result;
}
-}
+}
Modified: sandbox/assign_v2/libs/assign/v2/speed/tools.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/speed/tools.h (original)
+++ sandbox/assign_v2/libs/assign/v2/speed/tools.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,30 +22,30 @@
double clock_diff_to_sec(long clock_diff);
template<class Proc>
- double time_it_impl(Proc proc, int N=1);
+ double time_it_impl(Proc proc, int N=1);
template<class Proc, class Result>
double time_it_impl(Proc proc, Result & result, int N=1);
}
-
+
template<class Proc>
double time_it(Proc proc);
-
+
template<class Proc, class Result>
double time_it(Proc proc, Result & result);
double rand_dbl();
-
+
double rand_dbl(double M, double N);
-
+
// http://www.eternallyconfuzzled.com/arts/jsw_art_rand.aspx
int rand(int M, int N);
-
+
char rand_letter();
std::string rand_str(int len);
-}
+}
#endif
Modified: sandbox/assign_v2/libs/assign/v2/src/main.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/src/main.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/src/main.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -32,7 +32,7 @@
xxx_put_ref::run(ofs);
}
*/
-
+
return 0;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/detail.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -18,6 +18,6 @@
xxx_functor::test();
xxx_traits::test();
}
-
+
}// xxx_detail
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/detail.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,7 +14,7 @@
namespace xxx_detail{
void test();
-
+
}// xxx_detail
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -139,7 +139,7 @@
#undef BOOST_ASSIGN_V2_n
}
}
-
+
}// xxx_functor
}// xxx_detail
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/functor.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
void test();
-}// xxx_functor
+}// xxx_functor
}// xxx_detail
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,6 +22,6 @@
}
}// xxx_traits
-}// xxx_detail
+}// xxx_detail
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -36,7 +36,7 @@
BOOST_MPL_ASSERT_NOT(( ns::has_push<v_> ));
}
}
-
+
}// xxx_has_push
}// xxx_detail
}// xxx_type_traits
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_push.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_has_push{
void test();
-
+
}// xxx_has_push
}// xxx_traits
}// detail
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -19,7 +19,7 @@
namespace xxx_has_value_type{
void test(){
-
+
namespace as2 = boost::assign::v2;
{
typedef std::vector<int> inp_;
@@ -32,8 +32,8 @@
BOOST_STATIC_ASSERT(!pred_::value);
}
}
-
-
+
+
}// xxx_has_value_type
}// xxx_traits
}// xxx_detail
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/traits/has_value_type.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_has_value_type{
void test();
-
+
}// xxx_has_value_type
}// xxx_traits
}// xxx_detail
Modified: sandbox/assign_v2/libs/assign/v2/test/other.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/other.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/other.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,18 +22,18 @@
namespace test_assign_v2{
namespace xxx_other{
- // Tests interaction between different functionalities
+ // Tests interaction between different functionalities
void test(){
-
+
namespace as2 = boost::assign::v2;
-
- {
+
+ {
//[array_converter
typedef std::pair<std::string, int> T;
typedef std::vector<T> cont_;
cont_ cont = converter( // name lookup
- as2::ref::array( T("jan", 31) )( T("feb", 28) )( T("mar", 31) )
+ as2::ref::array( T("jan", 31) )( T("feb", 28) )( T("mar", 31) )
);
BOOST_ASSIGN_V2_CHECK( cont[1].first == "feb" );
BOOST_ASSIGN_V2_CHECK( cont[1].second == 28 );
@@ -46,14 +46,14 @@
{
//[chain_w
std::vector<int> v( 3 ); v[0] = -1; v[1] = 0; v[2] = 1;
- boost::array<int, 2> ar; int z; // lvalues
+ boost::array<int, 2> ar; int z; // lvalues
boost::copy(
v,
boost::begin(
ar | as2::_chain(
as2::ref::csv_array( z ) // rvalue!
- | as2::ref::_get
- )
+ | as2::ref::_get
+ )
)
);
BOOST_ASSIGN_V2_CHECK( ar[0] == -1 );
Modified: sandbox/assign_v2/libs/assign/v2/test/other.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/other.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/other.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,7 +14,7 @@
namespace xxx_other{
void test();
-
+
}// xxx_other
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -29,9 +29,9 @@
xxx_std::test();
xxx_ext::test();
xxx_ptr::test();
- xxx_pipe::test();
+ xxx_pipe::test();
}
-
+
}// xxx_put
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/put.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,7 +14,7 @@
namespace xxx_put{
void test();
-
+
}// xxx_put
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,7 +23,7 @@
xxx_csv::test();
xxx_range::test();
}
-
+
}// xxx_container
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_container{
void test();
-
+
}// xxx_container
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/csv.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -36,9 +36,9 @@
//[csv_map
typedef std::map<std::string, int> cont_;
typedef cont_::value_type type; cont_ cont;
- as2::csv_put( cont )(
+ as2::csv_put( cont )(
type("jan", 31), type("feb", 28), type("mar", 31)
- );
+ );
BOOST_ASSIGN_V2_CHECK( cont["feb"] == 28 );
//]
BOOST_ASSIGN_V2_CHECK( cont["jan"] == 31 );
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/csv.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/csv.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/csv.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_csv{
void test();
-
+
}// xxx_csv
}// xxx_container
}// xxx_put
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -29,8 +29,8 @@
void test(){
namespace as2 = boost::assign::v2;
- {
- //[array
+ {
+ //[array
typedef int T; T x = 1, y = 2, z = 3;
boost::array<T, 3> ar; as2::put( ar )( x )( y )( z );
BOOST_ASSIGN_V2_CHECK( ar[0] == x );
@@ -55,7 +55,7 @@
BOOST_ASSIGN_V2_CHECK( assoc.count( x ) == 1 );
BOOST_ASSIGN_V2_CHECK( assoc.count( z ) == 1 );
//]
- }
+ }
{
//[deque
typedef int T; T x = 1, y = 2, z = 0;
@@ -107,7 +107,7 @@
//[tuple
typedef int& ref_; typedef std::string val_;
typedef boost::tuple<ref_, val_> T;
- int x = 31, y = 28, z = 31; std::vector<T> seq;
+ int x = 31, y = 28, z = 31; std::vector<T> seq;
as2::put( seq )( x, "jan" )( y, "feb" )( z, "mar" );
BOOST_ASSIGN_V2_CHECK( &get<0>( seq[1] ) == &y );
BOOST_ASSIGN_V2_CHECK( get<1>( seq[1] ) == "feb" );
@@ -129,9 +129,9 @@
{
using namespace boost;
//[default_constr2
- typedef std::string a_; typedef int b_;
+ typedef std::string a_; typedef int b_;
typedef boost::tuple<a_, b_> T;
- a_ a0 = "jan", a1 = "feb", a2 = "mar"; b_ b0 = 31, b1 = 28, b2 = 31;
+ a_ a0 = "jan", a1 = "feb", a2 = "mar"; b_ b0 = 31, b1 = 28, b2 = 31;
std::vector<T> seq; as2::put( seq )( a0, b0 )()( a2 );
BOOST_ASSIGN_V2_CHECK( get<0>( seq[0] ) == a0 );
BOOST_ASSIGN_V2_CHECK( get<1>( seq[0] ) == b0 );
@@ -143,7 +143,7 @@
}
}// test()
-}// xxx_functor
+}// xxx_functor
}// xxx_container
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
void test();
-}// xxx_functor
+}// xxx_functor
}// xxx_container
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,11 +23,11 @@
void test()
{
namespace as2 = boost::assign::v2;
-
+
//[range_var
typedef int T; T x = 1, y = 2, z = 0;
std::vector<T> r( 3 ); r[0] = x; r[1] = y; r[2] = z;
- //]
+ //]
// Forwards to put()
{
//[range_array
Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/range.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/range.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/range.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_range{
void test();
-
+
}// xxx_range
}// xxx_container
}// xxx_put
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deduce.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deduce.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deduce.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -64,7 +64,7 @@
typedef std::map<std::string, int> cont_;
typedef as2::put_traits< cont_ > traits_;
BOOST_MPL_ASSERT((boost::is_same<
- traits_::modifier_tag,
+ traits_::modifier_tag,
as2::modifier_tag::insert
>));
//]
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deduce.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deduce.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deduce.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_deduce{
void test();
-
+
}// xxx_deduce
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_deque{
void test();
-
+
}// xxx_deque
}// xxx_put
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -32,7 +32,7 @@
{
//[deque_str
typedef std::string str_;
- BOOST_ASSIGN_V2_CHECK(
+ BOOST_ASSIGN_V2_CHECK(
str_( as2::csv_deque( "x" )( "y" )( "z" )[1] ) == "y"
);
//]
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
void test();
-}// xxx_csv
+}// xxx_csv
}// xxx_deque
}// xxx_put
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -22,16 +22,16 @@
namespace xxx_deque{
namespace xxx_modulo{
- // Tests interaction between different functionalities
+ // Tests interaction between different functionalities
void test(){
-
+
namespace as2 = boost::assign::v2;
-
+
{
//[deque_front
BOOST_AUTO(
- cont, (
+ cont, (
as2::deque<int>( as2::_nil ) % as2::_push_front
)( -1 )( 0 )( 1 )
);
@@ -43,8 +43,8 @@
{
//[deque_repeat
BOOST_AUTO(
- cont, (
- as2::deque<int>( as2::_nil ) % ( as2::_repeat = 2 )
+ cont, (
+ as2::deque<int>( as2::_nil ) % ( as2::_repeat = 2 )
)( -1 )( 0 )( 1 )
);
BOOST_ASSIGN_V2_CHECK( boost::size( cont ) == 6 );
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/modulo.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
void test();
-}// xxx_modulo
+}// xxx_modulo
}// xxx_deque
}// xxx_put
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/std.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/std.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/std.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -24,14 +24,14 @@
{
typedef int T; T x = 1, y = 2, z = 0;
//[deque_front
- BOOST_AUTO(
- cont,
- (
- as2::deque<T>( as2::_nil ) % as2::_push_front
- )( x )( y )( z )
+ BOOST_AUTO(
+ cont,
+ (
+ as2::deque<T>( as2::_nil ) % as2::_push_front
+ )( x )( y )( z )
);
- BOOST_ASSIGN_V2_CHECK( cont[0] == z );
- BOOST_ASSIGN_V2_CHECK( cont[2] == x );
+ BOOST_ASSIGN_V2_CHECK( cont[0] == z );
+ BOOST_ASSIGN_V2_CHECK( cont[2] == x );
//]
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/ext.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ext.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ext.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_ext{
void test();
-
+
}// xxx_ext
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -34,12 +34,12 @@
BOOST_ASSIGN_V2_CHECK( cont[2] == 3 );
//]
}
- {
+ {
//[lookup
std::map<std::string, int> cont;
cont["jan"] = 31; cont["feb"] = 29; cont["mar"] = 32;
(
- as2::put( cont ) % ( as2::_lookup = ( bl::_1 -= 1 ) )
+ as2::put( cont ) % ( as2::_lookup = ( bl::_1 -= 1 ) )
)( "feb" )( "mar" );
BOOST_ASSIGN_V2_CHECK( cont["feb"] == 28 );
BOOST_ASSIGN_V2_CHECK( cont["mar"] == 31 );
Modified: sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ext/functor.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_functor{
void test();
-
+
}// xxx_functor
}// xxx_ext
}// xxx_put
Modified: sandbox/assign_v2/libs/assign/v2/test/put/frame.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/frame.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/frame.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
void test()
{
namespace as2 = boost::assign::v2;
- // For now nothing
+ // For now nothing
}
}// xxx_frame
Modified: sandbox/assign_v2/libs/assign/v2/test/put/frame.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/frame.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/frame.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_frame{
void test();
-
+
}// xxx_frame
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/modulo.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modulo.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modulo.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -28,7 +28,7 @@
//[modulo_fun
typedef int T; T x = 1, y = 2, z = 0;
std::vector<int> cont;
- (
+ (
as2::put( cont ) % ( as2::_fun = ( bl::_1 + 1 ) )
)( x )( y )( z );
BOOST_ASSIGN_V2_CHECK( cont.front() == ( x + 1 ) );
@@ -39,7 +39,7 @@
//[modulo_push_front
typedef int T; T x = 1, y = 2, z = 0;
std::deque<int> cont;
- ( as2::put( cont ) % ( as2::_modifier
+ ( as2::put( cont ) % ( as2::_modifier
= as2::modifier_tag::push_front() ) )( x )( y )( z );
BOOST_ASSIGN_V2_CHECK( cont.front() == z );
BOOST_ASSIGN_V2_CHECK( cont.back() == x );
Modified: sandbox/assign_v2/libs/assign/v2/test/put/modulo.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modulo.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modulo.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_modulo{
void test();
-
+
}// xxx_modulo
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,7 +23,7 @@
xxx_functor::test();
xxx_range::test();
}
-
+
}// xxx_pipe
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_pipe{
void test();
-
+
}// xxx_pipe
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/ext.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/ext.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/ext.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -39,7 +39,7 @@
cont | (
as2::_csv_put % ( as2::_lookup = ( bl::_1 +=2 ) )
)( "jan", "feb", "mar" );
- BOOST_ASSIGN_V2_CHECK( cont["jan"] == 31 );
+ BOOST_ASSIGN_V2_CHECK( cont["jan"] == 31 );
BOOST_ASSIGN_V2_CHECK( cont["feb"] == 28 );
BOOST_ASSIGN_V2_CHECK( cont["mar"] == 31 );
//]
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/fun.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/fun.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/fun.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -28,8 +28,8 @@
//[csv_modulo_fun
typedef int T; T x = 1, y = 2, z = 0;
std::vector<int> cont;
- cont | (
- as2::_csv_put % ( as2::_fun = ( bl::_1 + 1 ) )
+ cont | (
+ as2::_csv_put % ( as2::_fun = ( bl::_1 + 1 ) )
)( x, y, z );
BOOST_ASSIGN_V2_CHECK( cont.front() == ( x + 1 ) );
BOOST_ASSIGN_V2_CHECK( cont.back() == ( z + 1 ) );
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/rhs.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/rhs.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv/rhs.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -11,7 +11,7 @@
#include <boost/preprocessor/expr_if.hpp>
#include <boost/mpl/int.hpp>
#include <boost/typeof/typeof.hpp>
-#include <boost/assign/v2/detail/check/equal_val.hpp>
+#include <boost/assign/v2/detail/check/equal_val.hpp>
#include <boost/assign/v2/detail/check/equal_ref.hpp>
#include <boost/assign/v2/put/pipe/csv.hpp>
@@ -29,16 +29,16 @@
// TODO name lookup?
using namespace boost;
using namespace boost::assign::v2;
-
+
pred( rhs.seq_args()[ i ].get(), u );
}
void test(){
-
+
namespace as2 = boost::assign::v2;
typedef boost::mpl::int_<0> zero_;
typedef int const cint_;
- cint_ x = -1, y = 0, z = 1;
+ cint_ x = -1, y = 0, z = 1;
int x1 = x + 5, y1 = y + 5, z1 = z + 5;
namespace chk = as2::check_aux;
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -29,8 +29,8 @@
void test(){
namespace as2 = boost::assign::v2;
- {
- //[pipe_array
+ {
+ //[pipe_array
typedef int T;
T x = 1, y = 2, z = 3;
boost::array<T, 3> ar;
@@ -55,7 +55,7 @@
BOOST_ASSIGN_V2_CHECK( assoc.count( x ) == 1 );
BOOST_ASSIGN_V2_CHECK( assoc.count( z ) == 1 );
//]
- }
+ }
{
//[pipe_deque
typedef int T; T x = 1, y = 2, z = 0;
@@ -104,7 +104,7 @@
}// test()
}// xxx_container
-}// xxx_functor
+}// xxx_functor
}// xxx_pipe
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -17,7 +17,7 @@
void test();
}// xxx_container
-}// xxx_functor
+}// xxx_functor
}// xxx_pipe
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/forward.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/forward.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/forward.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -38,7 +38,7 @@
BOOST_ASSIGN_V2_CHECK( cont[2] == z );
BOOST_ASSIGN_V2_CHECK( cont.size() == 4 );
}
- {
+ {
typedef const char* T;
typedef std::deque<T> cont_; cont_ cont;
typedef as2::result_of::put<cont_>::type adapter_;
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/fun.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/fun.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/fun.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -28,8 +28,8 @@
//[fun
typedef int T; T x = 1, y = 2, z = 0;
std::vector<int> cont;
- cont | (
- as2::_put % ( as2::_fun = ( bl::_1 + 1 ) )
+ cont | (
+ as2::_put % ( as2::_fun = ( bl::_1 + 1 ) )
)( x )( y )( z );
BOOST_ASSIGN_V2_CHECK( cont.front() == ( x + 1 ) );
BOOST_ASSIGN_V2_CHECK( cont.back() == ( z + 1 ) );
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -10,7 +10,7 @@
#include <string>
#include <boost/mpl/int.hpp>
#include <boost/typeof/typeof.hpp>
-#include <boost/assign/v2/detail/check/equal_val.hpp>
+#include <boost/assign/v2/detail/check/equal_val.hpp>
#include <boost/assign/v2/detail/check/equal_ref.hpp>
#include <boost/assign/v2/put/ext/repeat.hpp>
#include <boost/assign/v2/put/pipe/functor.hpp>
@@ -68,11 +68,11 @@
()
)
);
-
+
namespace chk = as2::check_aux;
typedef chk::equal_ref r_;
typedef chk::equal_val v_;
-
+
xxx_assert<0, 0>( rhs, r_(), a1);
xxx_assert<0, 1>( rhs, r_(), b1);
xxx_assert<1, 0>( rhs, r_(), a1); xxx_assert<1, 1>( rhs, r_(), b);
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -24,12 +24,12 @@
void test()
{
namespace as2 = boost::assign::v2;
-
+
//[range_var
typedef int T; T x = 1, y = 2, z = 0;
std::vector<T> r( 3 ); r[0] = x; r[1] = y; r[2] = z;
- //]
-
+ //]
+
// Forwards to put()
{
//[range_array
@@ -41,10 +41,10 @@
{
//[range_stack
typedef std::stack<T> lifo_;
- BOOST_ASSIGN_V2_CHECK(
- (
- ::boost::type<lifo_>() | as2::_put_range( r )
- ).top() == z
+ BOOST_ASSIGN_V2_CHECK(
+ (
+ ::boost::type<lifo_>() | as2::_put_range( r )
+ ).top() == z
);
//]
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_range{
void test();
-
+
}// xxx_range
}// xxx_pipe
}// xxx_put
Modified: sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -18,7 +18,7 @@
{
xxx_functor::test();
}// test
-
+
}// xxx_ptr
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/ptr.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ptr.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ptr.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_ptr{
void test();
-
+
}// xxx_ptr
}// xxx_put
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -26,8 +26,8 @@
void test(){
namespace as2 = boost::assign::v2;
- {
- //[array
+ {
+ //[array
typedef int T;
T x = 1, y = 2, z = 3;
boost::ptr_array<T, 3> ar;
@@ -36,7 +36,7 @@
BOOST_ASSIGN_V2_CHECK( ar[2] == z );
//]
}
-/*
+/*
{
//[map
boost::ptr_map<std::string, int> assoc;
@@ -53,7 +53,7 @@
BOOST_ASSIGN_V2_CHECK( assoc.count( x ) == 1 );
BOOST_ASSIGN_V2_CHECK( assoc.count( z ) == 1 );
//]
- }
+ }
*/
{
//[deque
Modified: sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ptr/functor.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_functor{
void test();
-
+
}// xxx_functor
}// xxx_ptr
}// xxx_put
Modified: sandbox/assign_v2/libs/assign/v2/test/put/std.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/std.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/std.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,9 +15,9 @@
namespace xxx_std{
void test();
-
+
}// xxx_std
}// xxx_put
}// xxx_test_assign
-#endif
\ No newline at end of file
+#endif
Modified: sandbox/assign_v2/libs/assign/v2/test/put/std/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/std/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/std/functor.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -21,10 +21,10 @@
void test()
{
namespace as2 = boost::assign::v2;
-
- /* Only have to check those that are in /std which are not in
+
+ /* Only have to check those that are in /std which are not in
/deduce/dependee.hpp */
-
+
{
//[std_deque
typedef int T; T x = 0, y = 2, z = 1;
Modified: sandbox/assign_v2/libs/assign/v2/test/put/std/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/std/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/std/functor.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_functor{
void test();
-
+
}// xxx_functor
}// xxx_std
}// xxx_put
Modified: sandbox/assign_v2/libs/assign/v2/test/ref.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -19,7 +19,7 @@
namespace xxx_ref{
void test(){
-
+
xxx_array::test();
xxx_convert_traits::test();
xxx_array::test();
@@ -28,6 +28,6 @@
xxx_wrapper::test();
}
-
+
}// xxx_ref
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/ref.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,7 +14,7 @@
namespace xxx_ref{
void test();
-
+
}// xxx_ref
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/array.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/array.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/array.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_array{
void test();
-
+
}// xxx_array
}// xxx_ref
}// test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -31,7 +31,7 @@
typedef as2::ref::nth_result_of::csv_array<3, T>::type ar_;
ar_ ar = as2::ref::csv_array( x, y, z );
//]
- {
+ {
//[ref_if_fb
T& rx = ar.front(); T& rz = ar.back();
BOOST_ASSIGN_V2_CHECK( &rx == &x );
@@ -47,7 +47,7 @@
}
{
//[ref_if_it
- T& rx = (*boost::begin( ar ) );
+ T& rx = (*boost::begin( ar ) );
T& rz = *boost::next( boost::begin( ar ), 2 );
BOOST_ASSIGN_V2_CHECK( &rx == &x );
BOOST_ASSIGN_V2_CHECK( &rz == &z );
@@ -59,7 +59,7 @@
typedef int T; T x, y, z;
std::vector<T> r( 3 ); r[0] = 1; r[1] = 2; r[2] = 0;
boost::copy( r, boost::begin(
- as2::ref::csv_array( x, y, z ) | as2::ref::_get
+ as2::ref::csv_array( x, y, z ) | as2::ref::_get
)
);
BOOST_ASSIGN_V2_CHECK( x == r[0] );
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/array/csv.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_csv{
void test();
-
+
}// xxx_csv
}// xxx_array
}// xxx_ref
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -32,7 +32,7 @@
typedef as2::ref::nth_result_of::array<3, T>::type ar_;
ar_ ar = as2::ref::array( x )( y )( z );
//]
- {
+ {
//[ref_if_fb
T& rx = ar.front(); T& rz = ar.back();
BOOST_ASSIGN_V2_CHECK( &rx == &x );
@@ -48,7 +48,7 @@
}
{
//[ref_if_it
- T& rx = ( *boost::begin( ar ) );
+ T& rx = ( *boost::begin( ar ) );
T& rz = *boost::next( boost::begin( ar ), 2 );
BOOST_ASSIGN_V2_CHECK( &rx == &x );
BOOST_ASSIGN_V2_CHECK( &rz == &z );
@@ -60,7 +60,7 @@
typedef int T; T x, y, z;
std::vector<T> r( 3 ); r[0] = 1; r[1] = 2; r[2] = 0;
boost::copy( r, boost::begin(
- as2::ref::array( x )( y )( z ) | as2::ref::_get
+ as2::ref::array( x )( y )( z ) | as2::ref::_get
)
);
BOOST_ASSIGN_V2_CHECK( x == r[0] );
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/array/functor.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -16,7 +16,7 @@
namespace xxx_functor{
void test();
-
+
}// xxx_functor
}// xxx_array
}// xxx_ref
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_convert_traits{
void test()
- {
+ {
namespace as2 = boost::assign::v2;
namespace ns = as2::ref::convert_traits::checking;
{
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_convert_traits{
void test();
-
+
}// xxx_convert_traits
}// xxx_ref
}// test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -124,7 +124,7 @@
boost::mpl::vector<r_, r_, r_>
>::type ar_;
ar_ ar = as2::ref::list<tag_>( as2::_nil )( a )( b )( c );
-
+
BOOST_ASSIGN_V2_CHECK( &ar[ 0 ].get() == &a );
BOOST_ASSIGN_V2_CHECK( &ar[ 1 ].get() == &b );
BOOST_ASSIGN_V2_CHECK( &ar[ 2 ].get() == &c );
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/list.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/list.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/list.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_list{
void test();
-
+
}// xxx_list
}// xxx_ref
}// test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/wrapper.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/wrapper.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/wrapper.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_wrapper{
void test();
-
+
}// xxx_wrapper
}// xxx_ref
}// test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -21,16 +21,16 @@
#include <boost/test/unit_test.hpp>
using boost::unit_test::test_suite;
test_suite* init_unit_test_suite( int argc, char* argv[] )
-{
- test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
- using namespace test_assign_v2;
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
{
using namespace xxx_detail;
test->add( BOOST_TEST_CASE( &xxx_traits::xxx_has_push::test ) );
test->add( BOOST_TEST_CASE( &xxx_traits::xxx_has_value_type::test ) );
test->add( BOOST_TEST_CASE( &xxx_functor::test ) );
}
- return test;
-}
+ return test;
+}
#endif
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -50,9 +50,9 @@
#include <boost/test/unit_test.hpp>
using boost::unit_test::test_suite;
test_suite* init_unit_test_suite( int argc, char* argv[] )
-{
- test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
- using namespace test_assign_v2;
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
{
namespace ns = xxx_put;
test->add( BOOST_TEST_CASE( &ns::xxx_deduce::test ) );
@@ -62,7 +62,7 @@
test->add( BOOST_TEST_CASE( &ns::xxx_container::xxx_functor::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_container::xxx_csv::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_container::xxx_range::test ) );
-
+
test->add( BOOST_TEST_CASE( &ns::xxx_std::xxx_functor::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_ext::xxx_functor::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_ptr::xxx_functor::test ) );
@@ -78,14 +78,14 @@
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_functor::xxx_fun::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_functor::xxx_std::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_functor::xxx_str_literal::test ) );
-
+
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_csv::xxx_container::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_csv::xxx_rhs::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_csv::xxx_fun::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_csv::xxx_std::test ) );
test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_csv::xxx_ext::test ) );
}
- return test;
-}
+ return test;
+}
#endif
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -24,11 +24,11 @@
#include <boost/test/unit_test.hpp>
using boost::unit_test::test_suite;
test_suite* init_unit_test_suite( int argc, char* argv[] )
-{
- test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
- using namespace test_assign_v2;
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
{
- using namespace xxx_ref;
+ using namespace xxx_ref;
test->add( BOOST_TEST_CASE( &xxx_convert_traits::test ) );
test->add( BOOST_TEST_CASE( &xxx_wrapper::test ) );
test->add( BOOST_TEST_CASE( &xxx_list::test ) );
@@ -36,7 +36,7 @@
test->add( BOOST_TEST_CASE( &xxx_array::xxx_functor::test ) );
test->add( BOOST_TEST_CASE( &xxx_array::xxx_csv::test ) );
}
- return test;
-}
+ return test;
+}
#endif
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -19,15 +19,15 @@
#include <boost/test/unit_test.hpp>
using boost::unit_test::test_suite;
test_suite* init_unit_test_suite( int argc, char* argv[] )
-{
- test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
- using namespace test_assign_v2;
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
{
using namespace xxx_utility;
test->add( BOOST_TEST_CASE( &xxx_chain::test ) );
test->add( BOOST_TEST_CASE( &xxx_convert::test ) );
}
- return test;
-}
+ return test;
+}
#endif
Modified: sandbox/assign_v2/libs/assign/v2/test/utility.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -19,7 +19,7 @@
xxx_chain::test();
xxx_convert::test();
}
-
+
}// xxx_type_traits
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/utility.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -14,7 +14,7 @@
namespace xxx_utility{
void test();
-
+
}// xxx_utility
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/utility/chain.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility/chain.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility/chain.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,7 +23,7 @@
namespace xxx_utility{
namespace xxx_chain{
-
+
void test()
{
namespace as2 = boost::assign::v2;
@@ -35,9 +35,9 @@
{
//[chain_r
typedef int T;
- boost::array<T, 2> ar; ar[0] = 0; ar[1] = 1;
+ boost::array<T, 2> ar; ar[0] = 0; ar[1] = 1;
std::list<T> list; list.push_back( 2 ); list.push_back( 3 );
- std::vector<T> v( boost::begin( ar ), boost::end( ar ) );
+ std::vector<T> v( boost::begin( ar ), boost::end( ar ) );
boost::copy( list, std::back_inserter( v ) );
BOOST_ASSIGN_V2_CHECK(
boost::range::equal( v, ar | as2::_chain( list ) )
@@ -46,7 +46,7 @@
}
{
//[chain_w
- typedef int T; std::vector<T> v( 4 );
+ typedef int T; std::vector<T> v( 4 );
v[0] = 1; v[1] = 2; v[2] = 0; v[3] = 5;
boost::array<T, 2> ar; std::list<T> list( v.size() - ar.size() );
boost::copy( v, boost::begin( ar | as2::_chain( list ) ) );
@@ -58,7 +58,7 @@
}
}// test
-
+
}// xxx_chain
}// xxx_utility
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/utility/chain.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility/chain.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility/chain.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_chain{
void test();
-
+
}// xxx_chain
}// xxx_utility
}// test_assign_v2
Modified: sandbox/assign_v2/libs/assign/v2/test/utility/convert.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility/convert.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility/convert.cpp 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -23,35 +23,35 @@
{
namespace as2 = boost::assign::v2;
namespace ns = as2::check_aux;
-
+
{
- // containers developed in this library are tested in conjunction
+ // containers developed in this library are tested in conjunction
// with converter() in their respective directories
}
{
- //[convert_inpl
+ //[convert_inpl
std::vector<int> v( 3 ); v[0] = 1; v[1] = 2; v[2] = 0;
typedef boost::array<int, 3> ar_;
- BOOST_ASSIGN_V2_CHECK(
- ( as2::converter( v ).type<ar_>() )[1] == v[1]
+ BOOST_ASSIGN_V2_CHECK(
+ ( as2::converter( v ).type<ar_>() )[1] == v[1]
);
//]
- BOOST_ASSIGN_V2_CHECK(
- ( as2::converter( v ).type<ar_>() )[0] == v[0]
+ BOOST_ASSIGN_V2_CHECK(
+ ( as2::converter( v ).type<ar_>() )[0] == v[0]
);
- BOOST_ASSIGN_V2_CHECK(
- ( as2::converter( v ).type<ar_>() )[2] == v[2]
+ BOOST_ASSIGN_V2_CHECK(
+ ( as2::converter( v ).type<ar_>() )[2] == v[2]
);
}
{
//[convert_copy
std::vector<int> v( 3 ); v[0] = -1; v[1] = 0; v[2] = 1;
- std::stack<int> lifo = as2::converter( v );
+ std::stack<int> lifo = as2::converter( v );
BOOST_ASSIGN_V2_CHECK( lifo.top() == 1 );
//]
}
}
-
+
}// xxx_convert
}// xxx_utility
}// xxx_test_assign
Modified: sandbox/assign_v2/libs/assign/v2/test/utility/convert.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility/convert.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility/convert.h 2011-02-19 13:20:47 EST (Sat, 19 Feb 2011)
@@ -15,7 +15,7 @@
namespace xxx_convert{
void test();
-
+
}// xxx_convert
}// xxx_utility
}// xxx_test_assign
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