|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71538 - in sandbox/assign_v2: boost/assign/v2/deque boost/assign/v2/interpreter boost/assign/v2/put boost/assign/v2/support libs/assign/v2/src libs/assign/v2/test/support
From: erwann.rogard_at_[hidden]
Date: 2011-04-27 13:06:34
Author: e_r
Date: 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
New Revision: 71538
URL: http://svn.boost.org/trac/boost/changeset/71538
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/boost/assign/v2/deque/deque.hpp | 2 +-
sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp | 2 +-
sandbox/assign_v2/boost/assign/v2/put/csv_put.hpp | 11 +++++------
sandbox/assign_v2/boost/assign/v2/put/put.hpp | 2 +-
sandbox/assign_v2/boost/assign/v2/support/keyword.hpp | 3 ++-
sandbox/assign_v2/libs/assign/v2/src/main.cpp | 10 +++++-----
sandbox/assign_v2/libs/assign/v2/test/support/functor.cpp | 10 +++++-----
sandbox/assign_v2/libs/assign/v2/test/support/traits.cpp | 2 +-
8 files changed, 21 insertions(+), 21 deletions(-)
Modified: sandbox/assign_v2/boost/assign/v2/deque/deque.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/deque/deque.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/deque/deque.hpp 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -51,7 +51,7 @@
//<-
typedef impl_ const cimpl_;
typedef interpreter_crtp<
- deque_interpreter
+ deque_interpreter
, impl_, F, MTag, data_tag::value
> put_crtp_;
//->
Modified: sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -41,7 +41,7 @@
{
}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
template<typename D, typename C, typename F, typename MTag, typename DTag,
- typename T, typename... Args>
+ typename T, typename... Args>
void csv(
interpreter_crtp<D, C, F, MTag, DTag> const& interpreter,
T&& t, Args&&... args
Modified: sandbox/assign_v2/boost/assign/v2/put/csv_put.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/csv_put.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/csv_put.hpp 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -37,7 +37,7 @@
template<typename T, typename K, typename M>
struct csv_ready<
functor_aux::pair<T, K, M>
- >
+ >
: ::boost::mpl::false_
{};
@@ -103,20 +103,19 @@
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
//->
- template<typename C, typename O, bool is, typename... Args>
+ template<typename C, typename O, typename... Args>
/*<-*/typename boost::enable_if<
is_list_option<O>
>::type BOOST_ASSIGN_V2_IGNORE(/*->*/void /*<-*/)
/*->*/csv_put(
C& cont,
- option_crtp<O, is> const& crtp,
+ O const& option,
Args&&... args
)/*<-*/
{
- O const& options = static_cast<O const&>( crtp );
csv(
make_csv_ready(
- put( cont ) % options
+ put( cont ) % option
),
std::forward<Args>( args )...
);
@@ -218,7 +217,7 @@
//<-
#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
//->
- using interpreter_aux::delay_csv_put;
+ using interpreter_aux::delay_csv_put;
namespace result_of{
Modified: sandbox/assign_v2/boost/assign/v2/put/put.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/put.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/put.hpp 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -34,7 +34,7 @@
{
//<-
typedef interpreter_aux::interpreter_crtp<
- put_interpreter
+ put_interpreter
, C, F, MTag, DTag
> super2_t;
//->
Modified: sandbox/assign_v2/boost/assign/v2/support/keyword.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/support/keyword.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/support/keyword.hpp 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -16,7 +16,8 @@
namespace v2{
//[syntax_detail_keyword
namespace keyword_aux{
- struct ignore{
+
+ struct ignore{
ignore(){}
template<typename Anything> ignore(Anything){}
};
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-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -19,8 +19,8 @@
#include <libs/assign/v2/tutorial.h>
// Speed -- CPP0x required
-//#include <fstream>
-//#include <libs/assign/v2/speed/test.h>
+#include <fstream>
+#include <libs/assign/v2/speed/test.h>
int main (int argc, char * const argv[])
{
@@ -70,13 +70,13 @@
xxx_ref::test();
}
{
- //tutorial_assign_v2::run();
+ tutorial_assign_v2::run();
}
- {/*
+ {
using namespace speed_assign_v2;
std::ofstream ofs("assign_v2_speed_test");
speed_assign_v2::test(ofs);
- */}
+ }
return 0;
Modified: sandbox/assign_v2/libs/assign/v2/test/support/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/support/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/support/functor.cpp 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -7,9 +7,9 @@
// Boost Software License, Version 1.0. (See accompanying file //
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
//////////////////////////////////////////////////////////////////////////////
-#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#include <boost/assign/v2/detail/functor/value.hpp>
+#include <boost/assign/v2/support/config/check.hpp>
+#include <boost/assign/v2/support/config/enable_cpp0x.hpp>
+#include <boost/assign/v2/support/functor/value.hpp>
#include <boost/tuple/tuple.hpp>
#include <libs/assign/v2/test/support/functor.h>
@@ -27,7 +27,7 @@
#endif
#endif
- // Primarily tests whether a functor is overloaded on any combination of
+ // Primarily tests whether a functor is overloaded on any combination of
// non-const/cont within BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY
// (relevant only for CPP03) and on all-non-const and all-const above
// this limit.
@@ -78,7 +78,7 @@
}
#endif
{
- typedef int e_;
+ typedef int e_;
typedef boost::tuple<e_ const&, e_ const&, e_ const&> tuple_;
typedef as2::functor_aux::value<tuple_> value_;
Modified: sandbox/assign_v2/libs/assign/v2/test/support/traits.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/support/traits.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/support/traits.cpp 2011-04-27 13:06:33 EDT (Wed, 27 Apr 2011)
@@ -11,7 +11,7 @@
#include <queue>
#include <stack>
#include <vector>
-#include <boost/assign/v2/detail/traits.hpp>
+#include <boost/assign/v2/support/traits.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/static_assert.hpp>
#include <libs/assign/v2/test/support/traits.h>
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