|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70128 - in trunk: boost/phoenix/core boost/phoenix/function boost/phoenix/operator boost/phoenix/operator/detail boost/phoenix/scope boost/phoenix/statement libs/phoenix/doc libs/phoenix/doc/html/phoenix libs/phoenix/doc/html/phoenix/inside libs/phoenix/doc/modules libs/phoenix/example libs/phoenix/test libs/phoenix/test/container libs/phoenix/test/include libs/phoenix/test/include/bind libs/phoenix/test/include/core libs/phoenix/test/include/function libs/phoenix/test/include/fusion libs/phoenix/test/include/object libs/phoenix/test/include/operator libs/phoenix/test/include/scope libs/phoenix/test/include/statement libs/phoenix/test/include/stl libs/phoenix/test/include/stl/algorithm libs/phoenix/test/include/stl/container libs/phoenix/test/include/support libs/phoenix/test/include/support/preprocessor libs/phoenix/test/operator libs/phoenix/test/scope
From: thom.heller_at_[hidden]
Date: 2011-03-18 11:53:37
Author: theller
Date: 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
New Revision: 70128
URL: http://svn.boost.org/trac/boost/changeset/70128
Log:
Removing phoenix from the main inspect offenders
Added:
trunk/boost/phoenix/function/function_handling.hpp (contents, props changed)
Removed:
trunk/libs/phoenix/doc/html/phoenix/inside/extending_actors.html
trunk/libs/phoenix/doc/html/phoenix/reference.html
Text files modified:
trunk/boost/phoenix/core/call.hpp | 10
trunk/boost/phoenix/core/terminal.hpp | 6
trunk/boost/phoenix/function/adapt_function.hpp | 10
trunk/boost/phoenix/function/function.hpp | 224 ++++++++++++++++++++++++++++++++-------
trunk/boost/phoenix/operator/arithmetic.hpp | 42 +++---
trunk/boost/phoenix/operator/bitwise.hpp | 32 ++--
trunk/boost/phoenix/operator/comparision.hpp | 18 +-
trunk/boost/phoenix/operator/detail/undef_operator.hpp | 6 +
trunk/boost/phoenix/operator/if_else.hpp | 20 +-
trunk/boost/phoenix/operator/logical.hpp | 16 +-
trunk/boost/phoenix/operator/self.hpp | 16 +-
trunk/boost/phoenix/scope/dynamic.hpp | 32 ++--
trunk/boost/phoenix/scope/lambda.hpp | 2
trunk/boost/phoenix/statement/sequence.hpp | 14 +-
trunk/boost/phoenix/statement/switch.hpp | 2
trunk/libs/phoenix/doc/introduction.qbk | 8 +
trunk/libs/phoenix/doc/modules/fusion.qbk | 8 +
trunk/libs/phoenix/doc/modules/statement.qbk | 9 +
trunk/libs/phoenix/example/container_actor.cpp | 2
trunk/libs/phoenix/test/Jamfile | 14 +-
trunk/libs/phoenix/test/container/container_tests.hpp | 4
trunk/libs/phoenix/test/include/bind.cpp | 7
trunk/libs/phoenix/test/include/bind/bind.cpp | 5
trunk/libs/phoenix/test/include/bind/bind_member_function.cpp | 5
trunk/libs/phoenix/test/include/bind/bind_member_variable.cpp | 5
trunk/libs/phoenix/test/include/core.cpp | 5
trunk/libs/phoenix/test/include/core/actor.cpp | 5
trunk/libs/phoenix/test/include/core/argument.cpp | 5
trunk/libs/phoenix/test/include/core/arity.cpp | 5
trunk/libs/phoenix/test/include/core/domain.cpp | 5
trunk/libs/phoenix/test/include/core/environment.cpp | 5
trunk/libs/phoenix/test/include/core/expression.cpp | 5
trunk/libs/phoenix/test/include/core/function_equal.cpp | 5
trunk/libs/phoenix/test/include/core/is_actor.cpp | 5
trunk/libs/phoenix/test/include/core/is_nullary.cpp | 5
trunk/libs/phoenix/test/include/core/limits.cpp | 5
trunk/libs/phoenix/test/include/core/meta_grammar.cpp | 5
trunk/libs/phoenix/test/include/core/nothing.cpp | 5
trunk/libs/phoenix/test/include/core/reference.cpp | 5
trunk/libs/phoenix/test/include/core/terminal.cpp | 5
trunk/libs/phoenix/test/include/core/test.cpp | 5
trunk/libs/phoenix/test/include/core/value.cpp | 5
trunk/libs/phoenix/test/include/core/visit_each.cpp | 5
trunk/libs/phoenix/test/include/function.cpp | 5
trunk/libs/phoenix/test/include/function/function.cpp | 5
trunk/libs/phoenix/test/include/fusion.cpp | 5
trunk/libs/phoenix/test/include/fusion/at.cpp | 5
trunk/libs/phoenix/test/include/object.cpp | 5
trunk/libs/phoenix/test/include/object/const_cast.cpp | 5
trunk/libs/phoenix/test/include/object/construct.cpp | 5
trunk/libs/phoenix/test/include/object/delete.cpp | 5
trunk/libs/phoenix/test/include/object/dynamic_cast.cpp | 5
trunk/libs/phoenix/test/include/object/new.cpp | 5
trunk/libs/phoenix/test/include/object/reinterpret_cast.cpp | 5
trunk/libs/phoenix/test/include/object/static_cast.cpp | 5
trunk/libs/phoenix/test/include/operator.cpp | 5
trunk/libs/phoenix/test/include/operator/arithmetic.cpp | 5
trunk/libs/phoenix/test/include/operator/bitwise.cpp | 5
trunk/libs/phoenix/test/include/operator/comparision.cpp | 5
trunk/libs/phoenix/test/include/operator/if_else.cpp | 5
trunk/libs/phoenix/test/include/operator/io.cpp | 5
trunk/libs/phoenix/test/include/operator/logical.cpp | 5
trunk/libs/phoenix/test/include/operator/member.cpp | 5
trunk/libs/phoenix/test/include/operator/operator.cpp | 5
trunk/libs/phoenix/test/include/operator/self.cpp | 5
trunk/libs/phoenix/test/include/scope.cpp | 5
trunk/libs/phoenix/test/include/scope/dynamic.cpp | 5
trunk/libs/phoenix/test/include/scope/lambda.cpp | 5
trunk/libs/phoenix/test/include/scope/let.cpp | 5
trunk/libs/phoenix/test/include/scope/local_variable.cpp | 5
trunk/libs/phoenix/test/include/scope/scoped_environment.cpp | 5
trunk/libs/phoenix/test/include/scope/this.cpp | 5
trunk/libs/phoenix/test/include/statement.cpp | 5
trunk/libs/phoenix/test/include/statement/do_while.cpp | 5
trunk/libs/phoenix/test/include/statement/for.cpp | 5
trunk/libs/phoenix/test/include/statement/if.cpp | 5
trunk/libs/phoenix/test/include/statement/sequence.cpp | 5
trunk/libs/phoenix/test/include/statement/switch.cpp | 5
trunk/libs/phoenix/test/include/statement/throw.cpp | 5
trunk/libs/phoenix/test/include/statement/try_catch.cpp | 5
trunk/libs/phoenix/test/include/statement/while.cpp | 5
trunk/libs/phoenix/test/include/stl.cpp | 5
trunk/libs/phoenix/test/include/stl/algorithm.cpp | 5
trunk/libs/phoenix/test/include/stl/algorithm/iteration.cpp | 5
trunk/libs/phoenix/test/include/stl/algorithm/querying.cpp | 5
trunk/libs/phoenix/test/include/stl/algorithm/transformation.cpp | 5
trunk/libs/phoenix/test/include/stl/container.cpp | 5
trunk/libs/phoenix/test/include/stl/container/container.cpp | 5
trunk/libs/phoenix/test/include/support/iterate.cpp | 5
trunk/libs/phoenix/test/include/support/preprocessor/round.cpp | 5
trunk/libs/phoenix/test/include/version.cpp | 5
trunk/libs/phoenix/test/operator/misc_binary_tests.cpp | 6
trunk/libs/phoenix/test/operator/unary_tests.cpp | 4
trunk/libs/phoenix/test/scope/this.cpp | 5
94 files changed, 691 insertions(+), 171 deletions(-)
Modified: trunk/boost/phoenix/core/call.hpp
==============================================================================
--- trunk/boost/phoenix/core/call.hpp (original)
+++ trunk/boost/phoenix/core/call.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -21,20 +21,20 @@
template <typename Fun, typename Expr, typename State, typename Data, long Arity = proto::arity_of<Expr>::value>
struct call_impl;
- template <typename Fun, typename Expr, typename State, typename Data>
+ template <typename Fun, typename Expr, typename State, typename Data>
struct call_impl<Fun, Expr, State, Data, 0>
: proto::transform_impl<Expr, State, Data>
- {
+ {
typedef
typename boost::phoenix::result_of::context<State, Data>::type
context_type;
-
+
typedef
typename boost::result_of<
Fun(context_type, Expr)
>::type
result_type;
-
+
result_type operator()(
typename call_impl::expr_param e
, typename call_impl::state_param s
@@ -43,7 +43,7 @@
{
return Fun()(boost::phoenix::context(s, d), e);
}
- };
+ };
}
template <typename Fun, typename Dummy = void>
Modified: trunk/boost/phoenix/core/terminal.hpp
==============================================================================
--- trunk/boost/phoenix/core/terminal.hpp (original)
+++ trunk/boost/phoenix/core/terminal.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -85,9 +85,9 @@
: proto::lazy<
custom_terminal<proto::_value>(
proto::_value
- , _context
- )
- >
+ , _context
+ )
+ >
{};
namespace detail
Modified: trunk/boost/phoenix/function/adapt_function.hpp
==============================================================================
--- trunk/boost/phoenix/function/adapt_function.hpp (original)
+++ trunk/boost/phoenix/function/adapt_function.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -9,7 +9,7 @@
#define BOOST_PHOENIX_FUNCTION_ADAPT_FUNCTION_HPP
#include <boost/phoenix/core/limits.hpp>
-#include <boost/phoenix/function/function.hpp>
+#include <boost/phoenix/function/function_handling.hpp>
#include <boost/preprocessor/control/if.hpp>
#include <boost/preprocessor/facilities/empty.hpp>
#include <boost/preprocessor/facilities/identity.hpp>
@@ -17,20 +17,20 @@
#include <boost/preprocessor/repetition/repeat.hpp>
#define BOOST_PHOENIX_ADAPT_FUNCTION_NULLARY(NAME, FUNC) \
- expression::function<FUNC>::type const \
+ boost::phoenix::expression::function<FUNC>::type const \
inline NAME() \
{ \
- return expression::function<FUNC>::make(FUNC()); \
+ return boost::phoenix::expression::function<FUNC>::make(FUNC()); \
} \
/**/
#define BOOST_PHOENIX_ADAPT_FUNCTION(NAME, FUNC, N) \
template <BOOST_PHOENIX_typename_A(N)> \
- typename expression::function<FUNC, BOOST_PHOENIX_A(N)>::type const \
+ typename boost::phoenix::expression::function<FUNC, BOOST_PHOENIX_A(N)>::type const \
inline NAME(BOOST_PHOENIX_A_const_ref_a(N)) \
{ \
- return expression:: \
+ return boost::phoenix::expression:: \
function<FUNC, BOOST_PHOENIX_A(N)>:: \
make(FUNC(), BOOST_PHOENIX_a(N)); \
} \
Modified: trunk/boost/phoenix/function/function.hpp
==============================================================================
--- trunk/boost/phoenix/function/function.hpp (original)
+++ trunk/boost/phoenix/function/function.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -8,12 +8,10 @@
#ifndef BOOST_PHOENIX_FUNCTION_FUNCTION_HPP
#define BOOST_PHOENIX_FUNCTION_FUNCTION_HPP
-#include <boost/phoenix/core/limits.hpp>
-#include <boost/phoenix/core/meta_grammar.hpp>
-#include <boost/phoenix/core/expression.hpp>
-#include <boost/phoenix/core/call.hpp>
-#include <boost/phoenix/support/iterate.hpp>
-#include <boost/proto/tags.hpp>
+#include <boost/phoenix/function/function_handling.hpp>
+#include <boost/phoenix/function/adapt_function.hpp>
+#include <boost/preprocessor/facilities/expand.hpp>
+#include <boost/preprocessor/logical/or.hpp>
#include <boost/utility/result_of.hpp>
namespace boost { namespace phoenix
@@ -22,48 +20,186 @@
// Functions
/////////////////////////////////////////////////////////////////////////////
- namespace tag
- {
- typedef proto::tag::function function;
- }
-
- namespace expression
- {
+/*
- template <
- typename F
- , BOOST_PHOENIX_typename_A_void(BOOST_PHOENIX_LIMIT)
- , typename Dummy = void
- >
- struct function;
-
- #define BOOST_PHOENIX_DEFINE_FUNCTION_EXPRESSION(_, N, __) \
- template <typename F, BOOST_PHOENIX_typename_A(N)> \
- struct function<F, BOOST_PHOENIX_A(N)> \
- : expr<tag::function, F, BOOST_PHOENIX_A(N)> \
- {}; \
-
- BOOST_PP_REPEAT_FROM_TO(
- 1
- , BOOST_PHOENIX_LIMIT
- , BOOST_PHOENIX_DEFINE_FUNCTION_EXPRESSION
- , _
+BOOST_PHOENIX_FUNCTION(
+ test
+ , (
+ (
+ N // Number of Arguments
+ , result_type // Result type, any
+ , (
+ BODY
+ )
+ )
+ (
+ 2
+ , result_type
+ , (
+ BODY
+ )
)
+ )
+)
- #undef BOOST_PHOENIX_DEFINE_FUNCTION_EXPRESSION
- }
+ */
- namespace rule
- {
- struct function
- : expression::function<proto::vararg<meta_grammar> >
- {};
- }
-
- template <typename Dummy>
- struct meta_grammar::case_<proto::tag::function, Dummy>
- : enable_rule<rule::function, Dummy>
- {};
+#define BOOST_PHOENIX_FUNCTION_WHAT_POLYMORPH_RESULT \
+ POLYMORPH
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_WHAT_MONOMORPH_RESULT(_) \
+ MONOMORPH
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH_RESULT(TYPE) \
+ TYPE
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_POLYMORPH_RESULT
+
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH(NAME, RESULT, BODIES) \
+ BOOST_PHOENIX_FUNCTION_MONOMORPH_BASE( \
+ NAME \
+ , RESULT \
+ , BOOST_PP_CAT(BOOST_PHOENIX_FUNCTION_MONOMORPH_FILLER_0 BODIES,_END) \
+ ) \
+/**/
+#define BOOST_PHOENIX_FUNCTION_POLYMORPH(NAME, RESULT, BODIES) \
+ BOOST_PHOENIX_FUNCTION_POLYMOPRH_BASE( \
+ NAME \
+ , BOOST_PP_CAT(BOOST_PHOENIX_FUNCTION_POLYMORPH_FILLER_0 BODIES,_END) \
+ ) \
+
+#define BOOST_PHOENIX_FUNCTION(NAME, TYPE, BODIES) \
+ BOOST_PP_CAT( \
+ BOOST_PHOENIX_FUNCTION_ \
+ , BOOST_PP_CAT( \
+ BOOST_PHOENIX_FUNCTION_WHAT_ \
+ , TYPE \
+ ) \
+ )( \
+ NAME \
+ , BOOST_PP_CAT(BOOST_PHOENIX_FUNCTION_, TYPE) \
+ , BODIES \
+ ) \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH_BASE(NAME, RESULT_TYPE, BODY_SEQ) \
+ namespace impl \
+ { \
+ struct NAME \
+ { \
+ typedef RESULT_TYPE result_type; \
+ BOOST_PP_SEQ_FOR_EACH( \
+ BOOST_PHOENIX_FUNCTION_MONOMORPH_DEFINE_BODY_S \
+ , _ \
+ , BODY_SEQ \
+ ) \
+ }; \
+ } \
+ BOOST_PP_SEQ_FOR_EACH( \
+ BOOST_PHOENIX_FUNCTION_MONOMORPH_ADAPT_BODY_S \
+ , NAME \
+ , BOOST_PP_SEQ_FOLD_LEFT(TEST, (BOOST_PP_TUPLE_ELEM(3, 0, BOOST_PP_SEQ_HEAD(BODY_SEQ))), BOOST_PP_SEQ_TAIL(BODY_SEQ)) \
+ ) \
+
+/**/
+
+#define TEST(S, STATE, X) \
+ BOOST_PP_IF( \
+ TEST2(STATE, BOOST_PP_TUPLE_ELEM(3, 0, X)) \
+ , STATE \
+ , BOOST_PP_SEQ_PUSH_BACK(STATE, BOOST_PP_TUPLE_ELEM(3, 0, X)) \
+ )
+
+#define TEST2(SEQ, E) \
+ BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_FOLD_LEFT(TEST3, (0, E), SEQ)) \
+
+#define TEST3(S, STATE, X) \
+ (BOOST_PP_OR(BOOST_PP_TUPLE_ELEM(2, 0, STATE), BOOST_PP_EQUAL(BOOST_PP_TUPLE_ELEM(2, 1, STATE), X)), BOOST_PP_TUPLE_ELEM(2, 1, STATE))
+
+#define BOOST_PHOENIX_FUNCTION_POLYMOPRH_BASE(NAME, BODY_SEQ) \
+ namespace impl \
+ { \
+ struct NAME \
+ { \
+ template <typename Sig> \
+ struct result; \
+ }; \
+ } \
+ BOOST_PP_SEQ_FOR_EACH( \
+ BOOST_PHOENIX_FUNCTION_POLYMORPH_ADAPT_BODY_S \
+ , NAME \
+ , BODY_SEQ \
+ ) \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_POLYMORPH_ADAPT_BODY_S(R, D, E) \
+ BOOST_PHOENIX_ADAPT_FUNCTION( \
+ D \
+ , impl:: D \
+ , BOOST_PP_TUPLE_ELEM(3, 0, E) \
+ ) \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_PARAMS(Z, N, D) \
+ BOOST_PP_COMMA_IF(N) \
+ BOOST_PP_CAT(A, N) \
+ BOOST_PP_TUPLE_ELEM( \
+ BOOST_PP_TUPLE_ELEM(3, 0, D) \
+ , N \
+ , BOOST_PP_TUPLE_ELEM(3, 1, D) \
+ ) \
+
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH_DEFINE_BODY_S(R, D, E) \
+ template <BOOST_PHOENIX_typename_A(BOOST_PP_TUPLE_ELEM(3, 0, E))> \
+ result_type operator()( \
+ BOOST_PP_REPEAT( \
+ BOOST_PP_TUPLE_ELEM(3, 0, E) \
+ , BOOST_PHOENIX_FUNCTION_PARAMS \
+ , E \
+ ) \
+ ) \
+ { \
+ BOOST_PP_EXPAND( \
+ BOOST_PHOENIX_FUNCTION_BODY \
+ BOOST_PP_TUPLE_ELEM(3, 2, E) \
+ ) \
+ } \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_BODY(BODY) BODY
+
+#define BOOST_PHOENIX_FUNCTION_ADAPT_BODY_S(R, D, E) \
+ BOOST_PHOENIX_ADAPT_FUNCTION( \
+ D \
+ , impl:: D \
+ , E \
+ ) \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_POLYMORPH_FILLER_0(X, Y, Z) \
+ ((X, Y, Z)) BOOST_PHOENIX_FUNCTION_POLYMORPH_FILLER_1 \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_POLYMORPH_FILLER_1(X, Y, Z) \
+ ((X, Y, Z)) BOOST_PHOENIX_FUNCTION_POLYMORPH_FILLER_0 \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_POLYMORPH_FILLER_0_END
+#define BOOST_PHOENIX_FUNCTION_POLYMORPH_FILLER_1_END
+
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH_FILLER_0(X, Y, Z) \
+ ((X, Y, Z)) BOOST_PHOENIX_FUNCTION_MONOMORPH_FILLER_1 \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH_FILLER_1(X, Y, Z) \
+ ((X, Y, Z)) BOOST_PHOENIX_FUNCTION_MONOMORPH_FILLER_0 \
+/**/
+
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH_FILLER_0_END
+#define BOOST_PHOENIX_FUNCTION_MONOMORPH_FILLER_1_END
// functor which returns our lazy function call extension
template<typename F>
Added: trunk/boost/phoenix/function/function_handling.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/phoenix/function/function_handling.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -0,0 +1,69 @@
+/*==============================================================================
+ Copyright (c) 2001-2010 Joel de Guzman
+ Copyright (c) 2010 Eric Niebler
+
+ Distributed under the 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_PHOENIX_FUNCTION_FUNCTION_HANDLING_HPP
+#define BOOST_PHOENIX_FUNCTION_FUNCTION_HANDLING_HPP
+
+#include <boost/phoenix/core/limits.hpp>
+#include <boost/phoenix/core/meta_grammar.hpp>
+#include <boost/phoenix/core/expression.hpp>
+#include <boost/phoenix/core/call.hpp>
+#include <boost/phoenix/support/iterate.hpp>
+#include <boost/proto/tags.hpp>
+
+namespace boost { namespace phoenix
+{
+ /////////////////////////////////////////////////////////////////////////////
+ // Functions
+ /////////////////////////////////////////////////////////////////////////////
+
+ namespace tag
+ {
+ typedef proto::tag::function function;
+ }
+
+ namespace expression
+ {
+
+ template <
+ typename F
+ , BOOST_PHOENIX_typename_A_void(BOOST_PHOENIX_LIMIT)
+ , typename Dummy = void
+ >
+ struct function;
+
+ #define BOOST_PHOENIX_DEFINE_FUNCTION_EXPRESSION(_, N, __) \
+ template <typename F, BOOST_PHOENIX_typename_A(N)> \
+ struct function<F, BOOST_PHOENIX_A(N)> \
+ : expr<tag::function, F, BOOST_PHOENIX_A(N)> \
+ {}; \
+
+ BOOST_PP_REPEAT_FROM_TO(
+ 1
+ , BOOST_PHOENIX_LIMIT
+ , BOOST_PHOENIX_DEFINE_FUNCTION_EXPRESSION
+ , _
+ )
+
+ #undef BOOST_PHOENIX_DEFINE_FUNCTION_EXPRESSION
+ }
+
+ namespace rule
+ {
+ struct function
+ : expression::function<proto::vararg<meta_grammar> >
+ {};
+ }
+
+ template <typename Dummy>
+ struct meta_grammar::case_<proto::tag::function, Dummy>
+ : enable_rule<rule::function, Dummy>
+ {};
+
+}}
+
+#endif
Modified: trunk/boost/phoenix/operator/arithmetic.hpp
==============================================================================
--- trunk/boost/phoenix/operator/arithmetic.hpp (original)
+++ trunk/boost/phoenix/operator/arithmetic.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -13,27 +13,27 @@
namespace boost { namespace phoenix
{
- BOOST_PHOENIX_UNARY_OPERATORS(
- (negate)
- (unary_plus)
- (pre_inc)
- (pre_dec)
- (post_inc)
- (post_dec)
- )
-
- BOOST_PHOENIX_BINARY_OPERATORS(
- (plus_assign)
- (minus_assign)
- (multiplies_assign)
- (divides_assign)
- (modulus_assign)
- (plus)
- (minus)
- (multiplies)
- (divides)
- (modulus)
- )
+ BOOST_PHOENIX_UNARY_OPERATORS(
+ (negate)
+ (unary_plus)
+ (pre_inc)
+ (pre_dec)
+ (post_inc)
+ (post_dec)
+ )
+
+ BOOST_PHOENIX_BINARY_OPERATORS(
+ (plus_assign)
+ (minus_assign)
+ (multiplies_assign)
+ (divides_assign)
+ (modulus_assign)
+ (plus)
+ (minus)
+ (multiplies)
+ (divides)
+ (modulus)
+ )
}}
#include <boost/phoenix/operator/detail/undef_operator.hpp>
Modified: trunk/boost/phoenix/operator/bitwise.hpp
==============================================================================
--- trunk/boost/phoenix/operator/bitwise.hpp (original)
+++ trunk/boost/phoenix/operator/bitwise.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -13,22 +13,22 @@
namespace boost { namespace phoenix
{
- BOOST_PHOENIX_UNARY_OPERATORS(
- (complement)
- )
-
- BOOST_PHOENIX_BINARY_OPERATORS(
- (bitwise_and_assign)
- (bitwise_or_assign)
- (bitwise_xor_assign)
- (shift_left_assign)
- (shift_right_assign)
- (bitwise_and)
- (bitwise_or)
- (bitwise_xor)
- (shift_left)
- (shift_right)
- )
+ BOOST_PHOENIX_UNARY_OPERATORS(
+ (complement)
+ )
+
+ BOOST_PHOENIX_BINARY_OPERATORS(
+ (bitwise_and_assign)
+ (bitwise_or_assign)
+ (bitwise_xor_assign)
+ (shift_left_assign)
+ (shift_right_assign)
+ (bitwise_and)
+ (bitwise_or)
+ (bitwise_xor)
+ (shift_left)
+ (shift_right)
+ )
}}
#include <boost/phoenix/operator/detail/undef_operator.hpp>
Modified: trunk/boost/phoenix/operator/comparision.hpp
==============================================================================
--- trunk/boost/phoenix/operator/comparision.hpp (original)
+++ trunk/boost/phoenix/operator/comparision.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -13,15 +13,15 @@
namespace boost { namespace phoenix
{
-
- BOOST_PHOENIX_BINARY_OPERATORS(
- (equal_to)
- (not_equal_to)
- (less_equal)
- (greater_equal)
- (less)
- (greater)
- )
+
+ BOOST_PHOENIX_BINARY_OPERATORS(
+ (equal_to)
+ (not_equal_to)
+ (less_equal)
+ (greater_equal)
+ (less)
+ (greater)
+ )
}}
#include <boost/phoenix/operator/detail/undef_operator.hpp>
Modified: trunk/boost/phoenix/operator/detail/undef_operator.hpp
==============================================================================
--- trunk/boost/phoenix/operator/detail/undef_operator.hpp (original)
+++ trunk/boost/phoenix/operator/detail/undef_operator.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,3 +1,9 @@
+/*==============================================================================
+ Copyright (c) 2010 Thomas Heller
+
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+==============================================================================*/
#undef BOOST_PHOENIX_UNARY_RULE
#undef BOOST_PHOENIX_BINARY_RULE
Modified: trunk/boost/phoenix/operator/if_else.hpp
==============================================================================
--- trunk/boost/phoenix/operator/if_else.hpp (original)
+++ trunk/boost/phoenix/operator/if_else.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -28,23 +28,23 @@
{};
}
- namespace rule
- {
- struct if_else_operator
+ namespace rule
+ {
+ struct if_else_operator
: expression::if_else_operator<
meta_grammar
, meta_grammar
, meta_grammar
>
- {};
- }
+ {};
+ }
- template <typename Dummy>
- struct meta_grammar::case_<tag::if_else_operator, Dummy>
- : enable_rule<rule::if_else_operator, Dummy>
- {};
+ template <typename Dummy>
+ struct meta_grammar::case_<tag::if_else_operator, Dummy>
+ : enable_rule<rule::if_else_operator, Dummy>
+ {};
- using proto::if_else;
+ using proto::if_else;
}}
#endif
Modified: trunk/boost/phoenix/operator/logical.hpp
==============================================================================
--- trunk/boost/phoenix/operator/logical.hpp (original)
+++ trunk/boost/phoenix/operator/logical.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -13,14 +13,14 @@
namespace boost { namespace phoenix
{
-
- BOOST_PHOENIX_UNARY_OPERATORS(
- (logical_not)
- )
- BOOST_PHOENIX_BINARY_OPERATORS(
- (logical_and)
- (logical_or)
- )
+
+ BOOST_PHOENIX_UNARY_OPERATORS(
+ (logical_not)
+ )
+ BOOST_PHOENIX_BINARY_OPERATORS(
+ (logical_and)
+ (logical_or)
+ )
}}
#include <boost/phoenix/operator/detail/undef_operator.hpp>
Modified: trunk/boost/phoenix/operator/self.hpp
==============================================================================
--- trunk/boost/phoenix/operator/self.hpp (original)
+++ trunk/boost/phoenix/operator/self.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -13,14 +13,14 @@
namespace boost { namespace phoenix
{
- BOOST_PHOENIX_UNARY_OPERATORS(
- (address_of)
- (dereference)
- )
- BOOST_PHOENIX_BINARY_OPERATORS(
- (assign)
- (subscript)
- )
+ BOOST_PHOENIX_UNARY_OPERATORS(
+ (address_of)
+ (dereference)
+ )
+ BOOST_PHOENIX_BINARY_OPERATORS(
+ (assign)
+ (subscript)
+ )
}}
#include <boost/phoenix/operator/detail/undef_operator.hpp>
Modified: trunk/boost/phoenix/scope/dynamic.hpp
==============================================================================
--- trunk/boost/phoenix/scope/dynamic.hpp (original)
+++ trunk/boost/phoenix/scope/dynamic.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -22,50 +22,50 @@
#include <boost/preprocessor/punctuation/comma.hpp>
#include <boost/type_traits/remove_pointer.hpp>
-#define BOOST_BOOST_PHOENIX_DYNAMIC_TEMPLATE_PARAMS(R, DATA, I, ELEM) \
+#define BOOST_PHOENIX_DYNAMIC_TEMPLATE_PARAMS(R, DATA, I, ELEM) \
BOOST_PP_COMMA_IF(I) BOOST_PP_TUPLE_ELEM(2, 0, ELEM) \
/**/
-#define BOOST_BOOST_PHOENIX_DYNAMIC_CTOR_INIT(R, DATA, I, ELEM) \
+#define BOOST_PHOENIX_DYNAMIC_CTOR_INIT(R, DATA, I, ELEM) \
BOOST_PP_COMMA_IF(I) BOOST_PP_TUPLE_ELEM(2, 1, ELEM)(init<I>(this)) \
/**/
-#define BOOST_BOOST_PHOENIX_DYNAMIC_MEMBER(R, DATA, I, ELEM) \
+#define BOOST_PHOENIX_DYNAMIC_MEMBER(R, DATA, I, ELEM) \
BOOST_PP_CAT(member, BOOST_PP_INC(I)) BOOST_PP_TUPLE_ELEM(2, 1, ELEM); \
/**/
-#define BOOST_BOOST_PHOENIX_DYNAMIC_FILLER_0(X, Y) \
- ((X, Y)) BOOST_BOOST_PHOENIX_DYNAMIC_FILLER_1 \
+#define BOOST_PHOENIX_DYNAMIC_FILLER_0(X, Y) \
+ ((X, Y)) BOOST_PHOENIX_DYNAMIC_FILLER_1 \
/**/
-#define BOOST_BOOST_PHOENIX_DYNAMIC_FILLER_1(X, Y) \
- ((X, Y)) BOOST_BOOST_PHOENIX_DYNAMIC_FILLER_0 \
+#define BOOST_PHOENIX_DYNAMIC_FILLER_1(X, Y) \
+ ((X, Y)) BOOST_PHOENIX_DYNAMIC_FILLER_0 \
/**/
-#define BOOST_BOOST_PHOENIX_DYNAMIC_FILLER_0_END
-#define BOOST_BOOST_PHOENIX_DYNAMIC_FILLER_1_END
+#define BOOST_PHOENIX_DYNAMIC_FILLER_0_END
+#define BOOST_PHOENIX_DYNAMIC_FILLER_1_END
-#define BOOST_BOOST_PHOENIX_DYNAMIC_BASE(NAME, MEMBER) \
+#define BOOST_PHOENIX_DYNAMIC_BASE(NAME, MEMBER) \
struct NAME \
: ::boost::phoenix::dynamic< \
BOOST_PP_SEQ_FOR_EACH_I( \
- BOOST_BOOST_PHOENIX_DYNAMIC_TEMPLATE_PARAMS \
+ BOOST_PHOENIX_DYNAMIC_TEMPLATE_PARAMS \
, _ \
, MEMBER) \
> \
{ \
NAME() \
- : BOOST_PP_SEQ_FOR_EACH_I(BOOST_BOOST_PHOENIX_DYNAMIC_CTOR_INIT, _, MEMBER) \
+ : BOOST_PP_SEQ_FOR_EACH_I(BOOST_PHOENIX_DYNAMIC_CTOR_INIT, _, MEMBER) \
{} \
\
- BOOST_PP_SEQ_FOR_EACH_I(BOOST_BOOST_PHOENIX_DYNAMIC_MEMBER, _, MEMBER) \
+ BOOST_PP_SEQ_FOR_EACH_I(BOOST_PHOENIX_DYNAMIC_MEMBER, _, MEMBER) \
} \
/**/
-#define BOOST_BOOST_PHOENIX_DYNAMIC(NAME, MEMBER) \
- BOOST_BOOST_PHOENIX_DYNAMIC_BASE( \
+#define BOOST_PHOENIX_DYNAMIC(NAME, MEMBER) \
+ BOOST_PHOENIX_DYNAMIC_BASE( \
NAME \
- , BOOST_PP_CAT(BOOST_BOOST_PHOENIX_DYNAMIC_FILLER_0 MEMBER,_END) \
+ , BOOST_PP_CAT(BOOST_PHOENIX_DYNAMIC_FILLER_0 MEMBER,_END) \
) \
/**/
Modified: trunk/boost/phoenix/scope/lambda.hpp
==============================================================================
--- trunk/boost/phoenix/scope/lambda.hpp (original)
+++ trunk/boost/phoenix/scope/lambda.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -135,7 +135,7 @@
mpl::true_()
, detail::scope_is_nullary_actions()
)>
- , proto::make<int()>
+ , proto::make<int()>
)
>
{};
Modified: trunk/boost/phoenix/statement/sequence.hpp
==============================================================================
--- trunk/boost/phoenix/statement/sequence.hpp (original)
+++ trunk/boost/phoenix/statement/sequence.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -24,20 +24,20 @@
{};
}
- namespace rule
- {
+ namespace rule
+ {
struct sequence
: expression::sequence<
meta_grammar
, meta_grammar
>
{};
- }
+ }
- template <typename Dummy>
- struct meta_grammar::case_<proto::tag::comma, Dummy>
- : enable_rule<rule::sequence, Dummy>
- {};
+ template <typename Dummy>
+ struct meta_grammar::case_<proto::tag::comma, Dummy>
+ : enable_rule<rule::sequence, Dummy>
+ {};
}}
Modified: trunk/boost/phoenix/statement/switch.hpp
==============================================================================
--- trunk/boost/phoenix/statement/switch.hpp (original)
+++ trunk/boost/phoenix/statement/switch.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -96,7 +96,7 @@
>
, proto::when<proto::_, mpl::int_<1>()>
>
- {};
+ {};
}
}}
Deleted: trunk/libs/phoenix/doc/html/phoenix/inside/extending_actors.html
==============================================================================
--- trunk/libs/phoenix/doc/html/phoenix/inside/extending_actors.html 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
+++ (empty file)
@@ -1,313 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Extending Actors</title>
-<link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
-<link rel="home" href="../../index.html" title="Chapter 1. Phoenix 3.0">
-<link rel="up" href="../inside.html" title="Inside Phoenix">
-<link rel="prev" href="expression/phoenix_define_expression_ext_vararg.html" title="PHOENIX_DEFINE_EXPRESSION_EXT_VARARG">
-<link rel="next" href="custom_terminals.html" title="Custom Terminals">
-</head>
-<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table cellpadding="2" width="100%"><tr><td valign="top"></td></tr></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="expression/phoenix_define_expression_ext_vararg.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../inside.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="custom_terminals.html"><img src="../../images/next.png" alt="Next"></a>
-</div>
-<div class="section">
-<div class="titlepage"><div><div><h3 class="title">
-<a name="phoenix.inside.extending_actors"></a><a class="link" href="extending_actors.html" title="Extending Actors">Extending Actors</a>
-</h3></div></div></div>
-<p>
- <a class="link" href="actor.html" title="Actors in Detail">Actors</a> are one of the main parts
- of the library, and one of the many customization points. The default actor
- implementation provides several operator() overloads which deal with the
- evaluation of expressions.
- </p>
-<p>
- For some uses cases this might not be enough. For convenience it is thinkable
- to provide custom member functions which generate new expressions. An example
- is the <a class="link" href="../modules/statement/___if_else_____statement.html" title="if_else_ Statement">if_else_
-Statement</a>
- which provides an additional else member for generating a lazy if-else expression.
- With this the actual Phoenix expression becomes more expressive.
- </p>
-<p>
- Another scenario is to give actors the semantics of a certain well known
- interface or concept. This tutorial like section will provide information
- on how to implement a custom actor which is usable as if it were a STL Container.
- </p>
-<a name="phoenix.inside.extending_actors.requirements"></a><h5>
-<a name="id705278"></a>
- <a class="link" href="extending_actors.html#phoenix.inside.extending_actors.requirements">Requirements</a>
- </h5>
-<p>
- Let's repeat what we want to have:
- </p>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Expression
- </p>
- </th>
-<th>
- <p>
- Semantics
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">a</span><span class="special">.</span><span class="identifier">begin</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- Returns an iterator pointing to the first element in the container.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">a</span><span class="special">.</span><span class="identifier">end</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- Returns an iterator pointing one past the last element in the container.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">a</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- Returns the size of the container, that is, its number of elements.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">a</span><span class="special">.</span><span class="identifier">max_size</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- Returns the largest size that this container can ever have.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">a</span><span class="special">.</span><span class="identifier">empty</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- Equivalent to a.size() == 0. (But possibly faster.)
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">a</span><span class="special">.</span><span class="identifier">swap</span><span class="special">(</span><span class="identifier">b</span><span class="special">)</span></code>
- </p>
- </td>
-<td>
- <p>
- Equivalent to swap(a,b)
- </p>
- </td>
-</tr>
-</tbody>
-</table></div>
-<p>
- Additionally, we want all the operator() overloads of the regular actor.
- </p>
-<a name="phoenix.inside.extending_actors.defining_the_actor"></a><h5>
-<a name="id705590"></a>
- <a class="link" href="extending_actors.html#phoenix.inside.extending_actors.defining_the_actor">Defining
- the actor</a>
- </h5>
-<p>
- The first version of our <code class="computeroutput"><span class="identifier">container_actor</span></code>
- interface will show the general principle. This will be continually extended.
- For the sake of simplicity, every member function generator will return
- <a class="link" href="../modules/core/nothing.html" title="Nothing"><code class="computeroutput"><span class="identifier">nothing</span></code></a>
- at first.
- </p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Expr</span><span class="special">></span>
-<span class="keyword">struct</span> <span class="identifier">container_actor</span>
- <span class="special">:</span> <span class="identifier">actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="identifier">actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span> <span class="identifier">base_type</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">container_actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span> <span class="identifier">that_type</span><span class="special">;</span>
-
- <span class="identifier">container_actor</span><span class="special">(</span> <span class="identifier">base_type</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">base</span> <span class="special">)</span>
- <span class="special">:</span> <span class="identifier">base_type</span><span class="special">(</span> <span class="identifier">base</span> <span class="special">)</span> <span class="special">{}</span>
-
- <span class="identifier">expression</span><span class="special">::</span><span class="identifier">null</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">void_</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="identifier">begin</span><span class="special">()</span> <span class="keyword">const</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">nothing</span><span class="special">;</span> <span class="special">}</span>
- <span class="identifier">expression</span><span class="special">::</span><span class="identifier">null</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">void_</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="identifier">end</span><span class="special">()</span> <span class="keyword">const</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">nothing</span><span class="special">;</span> <span class="special">}</span>
- <span class="identifier">expression</span><span class="special">::</span><span class="identifier">null</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">void_</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="identifier">size</span><span class="special">()</span> <span class="keyword">const</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">nothing</span><span class="special">;</span> <span class="special">}</span>
- <span class="identifier">expression</span><span class="special">::</span><span class="identifier">null</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">void_</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="identifier">max_size</span><span class="special">()</span> <span class="keyword">const</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">nothing</span><span class="special">;</span> <span class="special">}</span>
- <span class="identifier">expression</span><span class="special">::</span><span class="identifier">null</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">void_</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="identifier">empty</span><span class="special">()</span> <span class="keyword">const</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">nothing</span><span class="special">;</span> <span class="special">}</span>
-
- <span class="comment">// Note that swap is the only function needing another container.
-</span> <span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">></span>
- <span class="identifier">expression</span><span class="special">::</span><span class="identifier">null</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">void_</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="identifier">swap</span><span class="special">(</span> <span class="identifier">actor</span><span class="special"><</span><span class="identifier">Container</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="special">)</span> <span class="keyword">const</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">nothing</span><span class="special">;</span> <span class="special">}</span>
-<span class="special">};</span>
-</pre>
-<a name="phoenix.inside.extending_actors.using_the_actor"></a><h5>
-<a name="id706473"></a>
- <a class="link" href="extending_actors.html#phoenix.inside.extending_actors.using_the_actor">Using the
- actor</a>
- </h5>
-<p>
- Although the member functions do nothing right now, we want to test if we
- can use our new actor.
- </p>
-<p>
- First, lets create a generator which wraps the <code class="computeroutput"><span class="identifier">container_actor</span></code>
- around any other expression:
- </p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Expr</span><span class="special">></span>
-<span class="identifier">container_actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span> <span class="keyword">const</span>
-<span class="identifier">container</span><span class="special">(</span> <span class="identifier">actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">expr</span> <span class="special">)</span>
-<span class="special">{</span>
- <span class="keyword">return</span> <span class="identifier">expr</span><span class="special">;</span>
-<span class="special">}</span>
-</pre>
-<p>
- Now let's test this:
- </p>
-<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">0</span><span class="special">);</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1</span><span class="special">);</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2</span><span class="special">);</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
-
-<span class="special">(</span><span class="identifier">container</span><span class="special">(</span><span class="identifier">arg1</span><span class="special">).</span><span class="identifier">size</span><span class="special">())(</span><span class="identifier">v</span><span class="special">);</span>
-</pre>
-<p>
- Granted, this is not really elegant and not very practical (we could have
- just used phoenix::begin(v) from the <a class="link" href="../modules/stl/algorithm.html" title="Algorithm">Phoenix
- algorithm module</a>, but we can do better.
- </p>
-<p>
- Let's have an <a class="link" href="../modules/core/arguments.html" title="Arguments">argument placeholder</a>
- which is usable as if it was a STL container:
- </p>
-<pre class="programlisting"><span class="identifier">container_actor</span><span class="special"><</span><span class="identifier">expression</span><span class="special">::</span><span class="identifier">argument</span><span class="special"><</span><span class="number">1</span><span class="special">>::</span><span class="identifier">type</span><span class="special">></span> <span class="keyword">const</span> <span class="identifier">con1</span><span class="special">;</span>
-<span class="comment">// and so on ...
-</span></pre>
-<p>
- The above example can be rewritten as:
- </p>
-<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">0</span><span class="special">);</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1</span><span class="special">);</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2</span><span class="special">);</span>
-<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
-
-<span class="special">(</span><span class="identifier">con1</span><span class="special">.</span><span class="identifier">size</span><span class="special">())(</span><span class="identifier">v</span><span class="special">);</span>
-</pre>
-<p>
- Wow, that was easy!
- </p>
-<a name="phoenix.inside.extending_actors.adding_life_to_the_actor"></a><h5>
-<a name="id707140"></a>
- <a class="link" href="extending_actors.html#phoenix.inside.extending_actors.adding_life_to_the_actor">Adding
- life to the actor</a>
- </h5>
-<p>
- This one will be even easier!
- </p>
-<p>
- First, we define a <a class="link" href="../modules/function.html" title="Function">lazy function</a>
- which evaluates the expression we want to implement. Following is the implementation
- of the size function:
- </p>
-<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">size_impl</span>
-<span class="special">{</span>
- <span class="comment">// result_of protocol:
-</span> <span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sig</span><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">result</span><span class="special">;</span>
-
- <span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">This</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">This</span><span class="special">(</span><span class="identifier">Container</span><span class="special">)></span>
- <span class="special">{</span>
- <span class="comment">// Note, remove reference here, because Container can be anything
-</span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">remove_reference</span><span class="special"><</span><span class="identifier">Container</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">container_type</span><span class="special">;</span>
-
- <span class="comment">// The result will be size_type
-</span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">container_type</span><span class="special">::</span><span class="identifier">size_type</span> <span class="identifier">type</span><span class="special">;</span>
- <span class="special">};</span>
-
- <span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">></span>
- <span class="keyword">typename</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">size_impl</span><span class="special">(</span><span class="identifier">Container</span> <span class="keyword">const</span><span class="special">&)>::</span><span class="identifier">type</span>
- <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">Container</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">container</span><span class="special">)</span> <span class="keyword">const</span>
- <span class="special">{</span>
- <span class="keyword">return</span> <span class="identifier">container</span><span class="special">.</span><span class="identifier">size</span><span class="special">();</span>
- <span class="special">}</span>
-<span class="special">};</span>
-</pre>
-<p>
- Good, this was the first part. The second part will be to implement the size
- member function of <code class="computeroutput"><span class="identifier">container_actor</span></code>:
- </p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Expr</span><span class="special">></span>
-<span class="keyword">struct</span> <span class="identifier">container_actor</span>
- <span class="special">:</span> <span class="identifier">actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="identifier">actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span> <span class="identifier">base_type</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">container_actor</span><span class="special"><</span><span class="identifier">Expr</span><span class="special">></span> <span class="identifier">that_type</span><span class="special">;</span>
-
- <span class="identifier">container_actor</span><span class="special">(</span> <span class="identifier">base_type</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">base</span> <span class="special">)</span>
- <span class="special">:</span> <span class="identifier">base_type</span><span class="special">(</span> <span class="identifier">base</span> <span class="special">)</span> <span class="special">{}</span>
-
- <span class="keyword">typename</span> <span class="identifier">expression</span><span class="special">::</span><span class="identifier">function</span><span class="special"><</span><span class="identifier">size_impl</span><span class="special">,</span> <span class="identifier">that_type</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">const</span>
- <span class="identifier">size</span><span class="special">()</span> <span class="keyword">const</span>
- <span class="special">{</span>
- <span class="identifier">function</span><span class="special"><</span><span class="identifier">size_impl</span><span class="special">></span> <span class="keyword">const</span> <span class="identifier">f</span> <span class="special">=</span> <span class="identifier">size_impl</span><span class="special">();</span>
- <span class="keyword">return</span> <span class="identifier">f</span><span class="special">(*</span><span class="keyword">this</span><span class="special">);</span>
- <span class="special">}</span>
-
- <span class="comment">// the rest ...
-</span><span class="special">};</span>
-</pre>
-<p>
- It is left as an exercise to the user to implement the missing parts by reusing
- functions from the <a class="link" href="../modules/stl/algorithm.html" title="Algorithm">Phoenix
- Algorithm Module</a> (the impatient take a look here: container_actor.cpp).
- </p>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright © 2002-2005, 2010 Joel de Guzman, Dan Marsden, Thomas Heller<p>
- Distributed under the Boost Software License, Version 1.0. (See accompanying
- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- </p>
-</div></td>
-</tr></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="expression/phoenix_define_expression_ext_vararg.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../inside.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="custom_terminals.html"><img src="../../images/next.png" alt="Next"></a>
-</div>
-</body>
-</html>
Deleted: trunk/libs/phoenix/doc/html/phoenix/reference.html
==============================================================================
--- trunk/libs/phoenix/doc/html/phoenix/reference.html 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
+++ (empty file)
@@ -1,156 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Reference</title>
-<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
-<link rel="home" href="../index.html" title="Chapter 1. Phoenix 3.0">
-<link rel="up" href="../index.html" title="Chapter 1. Phoenix 3.0">
-<link rel="prev" href="actor.html" title="Actor">
-<link rel="next" href="reference/core_mechanisms.html" title="Core Mechanisms">
-</head>
-<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table cellpadding="2" width="100%"><tr><td valign="top"></td></tr></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="actor.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="reference/core_mechanisms.html"><img src="../images/next.png" alt="Next"></a>
-</div>
-<div class="section">
-<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="phoenix.reference"></a><a class="link" href="reference.html" title="Reference">Reference</a>
-</h2></div></div></div>
-<div class="toc"><dl>
-<dt><span class="section">Core Mechanisms</span></dt>
-<dd><dl>
-<dt><span class="section">actor
</span></dt>
-<dt><span class="section">meta_grammar
</span></dt>
-<dt><span class="section">environment
</span></dt>
-<dt><span class="section">evaluator
</span></dt>
-<dd><dl>
-<dt><span class="section">default_actions
</span></dt>
-<dt><span class="section">is_nullary
</span></dt>
-<dt><span class="section">arity
</span></dt>
-</dl></dd>
-<dt><span class="section">expression
</span></dt>
-<dt><span class="section">PHOENIX_DEFINE_EXPRESSION
</span></dt>
-<dt><span class="section">PHOENIX_DEFINE_EXPRESSION_VARARG
</span></dt>
-<dt><span class="section">PHOENIX_DEFINE_EXPRESSION_EXT
</span></dt>
-<dt><span class="section">PHOENIX_DEFINE_EXPRESSION_VARARG_EXT
</span></dt>
-<dt><span class="section">Terminals</span></dt>
-<dd><dl>
-<dt><span class="section">Placeholders</span></dt>
-<dt><span class="section">is_custom_terminal
</span></dt>
-<dt><span class="section">custom_terminal
</span></dt>
-</dl></dd>
-</dl></dd>
-<dt><span class="section">The Language</span></dt>
-<dd><dl>
-<dt><span class="section">Core</span></dt>
-<dd><dl>
-<dt><span class="section">Value</span></dt>
-<dt><span class="section">Reference</span></dt>
-<dt><span class="section">Arguments</span></dt>
-<dt><span class="section">Nothing</span></dt>
-</dl></dd>
-</dl></dd>
-</dl></div>
-<p>
- While the previous section gave a brief overview on how to use the Phoenix
- library, this section will provide as the reference to the interfaces defined
- in phoenix.
- </p>
-<p>
- With Phoenix being a domain specific embedded language this reference manual
- is different than most references to C++ libraries.
- </p>
-<p>
- Phoenix is designed in a way that the language constructs are clearly separated
- from how they are evaluated. This follows the design principles of the C++
- standard library. This design also allows us to see the code (i.e. Phoenix
- Actors) as data, and the different evaluation schemes, which act as the algorithms.
- </p>
-<p>
- The remainder of this section is structured as following:
- </p>
-<div class="variablelist">
-<p class="title"><b></b></p>
-<dl>
-<dt><span class="term"> The Language </span></dt>
-<dd>
-<p>
- Definition of the Phoenix grammar
- </p>
-<p>
- Reference to the mechanisms used to generate Phoenix actors
- </p>
-<p>
- Extension mechanism of the Phoenix grammar
- </p>
-</dd>
-<dt><span class="term"> Evaluation </span></dt>
-<dd>
-<p>
- How Phoenix actors get evaluated
- </p>
-<p>
- Reference to the predefined evaluators
- </p>
-<p>
- Extension mechanism of the evaluation process
- </p>
-</dd>
-<dt><span class="term"> Advanced Tutorials </span></dt>
-<dd><p>
- In depth discussion of the advertised features in the previous sections
- </p></dd>
-</dl>
-</div>
-<a name="phoenix.reference.concepts"></a><h4>
-<a name="id3390618"></a>
- <a class="link" href="reference.html#phoenix.reference.concepts">Concepts</a>
- </h4>
-<p>
- Throughout this reference section various concepts are used. To disambiguate
- their meanings consider the following definitions.
- </p>
-<a name="phoenix.reference.phoenix_actor"></a><h4>
-<a name="id3390640"></a>
- <a class="link" href="reference.html#phoenix.reference.phoenix_actor">Phoenix Actor</a>
- </h4>
-<p>
- A Phoenix Actor is the C++ Expression that is generated by the Phoenix Generators.
- </p>
-<a name="phoenix.reference.phoenix_generator"></a><h4>
-<a name="id3390662"></a>
- <a class="link" href="reference.html#phoenix.reference.phoenix_generator">Phoenix Generator</a>
- </h4>
-<p>
- The Generator is a C++ Expression that results in a Phoenix Actor.
- </p>
-<p>
- This Generator is:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem">
- A function (can be a free function, operator, or member function)
- </li>
-<li class="listitem">
- An instance of a Phoenix Actor
- </li>
-</ul></div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright © 2002-2005, 2010 Joel de Guzman, Dan Marsden, Thomas Heller<p>
- Distributed under the Boost Software License, Version 1.0. (See accompanying
- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- </p>
-</div></td>
-</tr></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="actor.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="reference/core_mechanisms.html"><img src="../images/next.png" alt="Next"></a>
-</div>
-</body>
-</html>
Modified: trunk/libs/phoenix/doc/introduction.qbk
==============================================================================
--- trunk/libs/phoenix/doc/introduction.qbk (original)
+++ trunk/libs/phoenix/doc/introduction.qbk 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,3 +1,11 @@
+[/==============================================================================
+ Copyright (C) 2001-2010 Joel de Guzman
+ Copyright (C) 2001-2005 Dan Marsden
+ Copyright (C) 2001-2010 Thomas Heller
+
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+===============================================================================/]
[section Introduction]
Modified: trunk/libs/phoenix/doc/modules/fusion.qbk
==============================================================================
--- trunk/libs/phoenix/doc/modules/fusion.qbk (original)
+++ trunk/libs/phoenix/doc/modules/fusion.qbk 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,3 +1,11 @@
+[/==============================================================================
+ Copyright (C) 2001-2010 Joel de Guzman
+ Copyright (C) 2001-2005 Dan Marsden
+ Copyright (C) 2001-2010 Thomas Heller
+
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+===============================================================================/]
[section Fusion]
Modified: trunk/libs/phoenix/doc/modules/statement.qbk
==============================================================================
--- trunk/libs/phoenix/doc/modules/statement.qbk (original)
+++ trunk/libs/phoenix/doc/modules/statement.qbk 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,3 +1,12 @@
+[/==============================================================================
+ Copyright (C) 2001-2010 Joel de Guzman
+ Copyright (C) 2001-2005 Dan Marsden
+ Copyright (C) 2001-2010 Thomas Heller
+
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+===============================================================================/]
+
[section Statement]
[*/Lazy statements.../]
Modified: trunk/libs/phoenix/example/container_actor.cpp
==============================================================================
--- trunk/libs/phoenix/example/container_actor.cpp (original)
+++ trunk/libs/phoenix/example/container_actor.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -103,7 +103,7 @@
int main()
{
- container_actor<phoenix::expression::argument<1>::type> const con1;
+ container_actor<phoenix::expression::argument<1>::type> const con1;
std::vector<int> v;
v.push_back(0);
v.push_back(1);
Modified: trunk/libs/phoenix/test/Jamfile
==============================================================================
--- trunk/libs/phoenix/test/Jamfile (original)
+++ trunk/libs/phoenix/test/Jamfile 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -9,8 +9,8 @@
# bring in rules for testing
import testing ;
-#local multi-threading = <library>/boost/thread
-# <threading>multi <define>BOOST_ALL_NO_LIB=1 ;
+local multi-threading = <library>/boost/thread
+ <threading>multi <define>BOOST_ALL_NO_LIB=1 ;
test-suite phoenix_core :
[ run core/primitives_tests.cpp ]
@@ -71,8 +71,8 @@
[ run scope/lambda_tests.cpp ]
[ run scope/let_tests.cpp ]
[ run scope/dynamic_tests.cpp ]
- [ run scope/bug3289.cpp ]
-# [ run scope/bug_000008.cpp : : : $(multi-threading) ]
+ [ run scope/bug3289.cpp ]
+ [ run scope/bug_000008.cpp : : : $(multi-threading) ]
;
test-suite phoenix_algorithm :
@@ -106,11 +106,11 @@
[ run boost_bind_compatibility/bind_rv_sp_test.cpp ]
[ run boost_bind_compatibility/bind_stateful_test.cpp ]
[ run boost_bind_compatibility/bind_test.cpp ]
- ;
+ ;
test-suite phoenix_regression :
- [ run regression/bug4853.cpp ]
- ;
+ [ run regression/bug4853.cpp ]
+ ;
test-suite phoenix_include :
[ run include/bind.cpp ]
Modified: trunk/libs/phoenix/test/container/container_tests.hpp
==============================================================================
--- trunk/libs/phoenix/test/container/container_tests.hpp (original)
+++ trunk/libs/phoenix/test/container/container_tests.hpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -790,13 +790,13 @@
c2_begin = c2.begin();
c2_end = c2.end();
size = c.size() + c2.size();
- /*
+ /*
splice(arg1, arg2, arg3, arg4, arg5)(c, c_end, c2, c2_begin, c2_end);
if (test(c.size() != size)) {
cerr << "Failed " << typeid(Container).name() << " test_splice 3\n";
return;
}
- */
+ */
}
template <typename Container>
Modified: trunk/libs/phoenix/test/include/bind.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/bind.cpp (original)
+++ trunk/libs/phoenix/test/include/bind.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,5 @@
-#include <boost/phoenix/bind.hpp>
-int main() {}
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+==============================================================================*/
Modified: trunk/libs/phoenix/test/include/bind/bind.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/bind/bind.cpp (original)
+++ trunk/libs/phoenix/test/include/bind/bind.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/bind/bind.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/bind/bind_member_function.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/bind/bind_member_function.cpp (original)
+++ trunk/libs/phoenix/test/include/bind/bind_member_function.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/bind/bind_member_function.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/bind/bind_member_variable.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/bind/bind_member_variable.cpp (original)
+++ trunk/libs/phoenix/test/include/bind/bind_member_variable.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/bind/bind_member_variable.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core.cpp (original)
+++ trunk/libs/phoenix/test/include/core.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/actor.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/actor.cpp (original)
+++ trunk/libs/phoenix/test/include/core/actor.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/actor.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/argument.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/argument.cpp (original)
+++ trunk/libs/phoenix/test/include/core/argument.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/argument.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/arity.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/arity.cpp (original)
+++ trunk/libs/phoenix/test/include/core/arity.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/arity.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/domain.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/domain.cpp (original)
+++ trunk/libs/phoenix/test/include/core/domain.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/domain.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/environment.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/environment.cpp (original)
+++ trunk/libs/phoenix/test/include/core/environment.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/environment.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/expression.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/expression.cpp (original)
+++ trunk/libs/phoenix/test/include/core/expression.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/expression.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/function_equal.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/function_equal.cpp (original)
+++ trunk/libs/phoenix/test/include/core/function_equal.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/function_equal.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/is_actor.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/is_actor.cpp (original)
+++ trunk/libs/phoenix/test/include/core/is_actor.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/is_actor.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/is_nullary.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/is_nullary.cpp (original)
+++ trunk/libs/phoenix/test/include/core/is_nullary.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/is_nullary.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/limits.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/limits.cpp (original)
+++ trunk/libs/phoenix/test/include/core/limits.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/limits.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/meta_grammar.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/meta_grammar.cpp (original)
+++ trunk/libs/phoenix/test/include/core/meta_grammar.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/meta_grammar.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/nothing.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/nothing.cpp (original)
+++ trunk/libs/phoenix/test/include/core/nothing.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/nothing.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/reference.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/reference.cpp (original)
+++ trunk/libs/phoenix/test/include/core/reference.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/reference.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/terminal.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/terminal.cpp (original)
+++ trunk/libs/phoenix/test/include/core/terminal.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/terminal.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/test.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/test.cpp (original)
+++ trunk/libs/phoenix/test/include/core/test.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/test.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/value.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/value.cpp (original)
+++ trunk/libs/phoenix/test/include/core/value.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/value.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/core/visit_each.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/core/visit_each.cpp (original)
+++ trunk/libs/phoenix/test/include/core/visit_each.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core/visit_each.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/function.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/function.cpp (original)
+++ trunk/libs/phoenix/test/include/function.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/function.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/function/function.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/function/function.cpp (original)
+++ trunk/libs/phoenix/test/include/function/function.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/function/function.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/fusion.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/fusion.cpp (original)
+++ trunk/libs/phoenix/test/include/fusion.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/fusion.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/fusion/at.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/fusion/at.cpp (original)
+++ trunk/libs/phoenix/test/include/fusion/at.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/fusion/at.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object.cpp (original)
+++ trunk/libs/phoenix/test/include/object.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object/const_cast.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object/const_cast.cpp (original)
+++ trunk/libs/phoenix/test/include/object/const_cast.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object/const_cast.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object/construct.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object/construct.cpp (original)
+++ trunk/libs/phoenix/test/include/object/construct.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object/construct.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object/delete.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object/delete.cpp (original)
+++ trunk/libs/phoenix/test/include/object/delete.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object/delete.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object/dynamic_cast.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object/dynamic_cast.cpp (original)
+++ trunk/libs/phoenix/test/include/object/dynamic_cast.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object/dynamic_cast.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object/new.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object/new.cpp (original)
+++ trunk/libs/phoenix/test/include/object/new.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object/new.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object/reinterpret_cast.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object/reinterpret_cast.cpp (original)
+++ trunk/libs/phoenix/test/include/object/reinterpret_cast.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object/reinterpret_cast.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/object/static_cast.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/object/static_cast.cpp (original)
+++ trunk/libs/phoenix/test/include/object/static_cast.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/object/static_cast.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator.cpp (original)
+++ trunk/libs/phoenix/test/include/operator.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/arithmetic.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/arithmetic.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/arithmetic.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/arithmetic.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/bitwise.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/bitwise.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/bitwise.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/bitwise.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/comparision.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/comparision.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/comparision.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/comparision.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/if_else.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/if_else.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/if_else.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/if_else.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/io.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/io.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/io.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/io.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/logical.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/logical.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/logical.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/logical.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/member.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/member.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/member.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/member.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/operator.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/operator.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/operator.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/operator.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/operator/self.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/operator/self.cpp (original)
+++ trunk/libs/phoenix/test/include/operator/self.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/operator/self.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/scope.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/scope.cpp (original)
+++ trunk/libs/phoenix/test/include/scope.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/scope.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/scope/dynamic.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/scope/dynamic.cpp (original)
+++ trunk/libs/phoenix/test/include/scope/dynamic.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/scope/dynamic.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/scope/lambda.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/scope/lambda.cpp (original)
+++ trunk/libs/phoenix/test/include/scope/lambda.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/scope/lambda.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/scope/let.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/scope/let.cpp (original)
+++ trunk/libs/phoenix/test/include/scope/let.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/scope/let.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/scope/local_variable.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/scope/local_variable.cpp (original)
+++ trunk/libs/phoenix/test/include/scope/local_variable.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/scope/local_variable.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/scope/scoped_environment.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/scope/scoped_environment.cpp (original)
+++ trunk/libs/phoenix/test/include/scope/scoped_environment.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/scope/scoped_environment.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/scope/this.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/scope/this.cpp (original)
+++ trunk/libs/phoenix/test/include/scope/this.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/scope/this.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement.cpp (original)
+++ trunk/libs/phoenix/test/include/statement.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/do_while.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/do_while.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/do_while.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/do_while.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/for.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/for.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/for.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/for.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/if.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/if.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/if.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/if.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/sequence.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/sequence.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/sequence.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/sequence.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/switch.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/switch.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/switch.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/switch.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/throw.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/throw.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/throw.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/throw.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/try_catch.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/try_catch.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/try_catch.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/try_catch.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/statement/while.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/statement/while.cpp (original)
+++ trunk/libs/phoenix/test/include/statement/while.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/statement/while.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/stl.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/stl.cpp (original)
+++ trunk/libs/phoenix/test/include/stl.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/stl.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/stl/algorithm.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/stl/algorithm.cpp (original)
+++ trunk/libs/phoenix/test/include/stl/algorithm.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/stl/algorithm.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/stl/algorithm/iteration.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/stl/algorithm/iteration.cpp (original)
+++ trunk/libs/phoenix/test/include/stl/algorithm/iteration.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/stl/algorithm/iteration.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/stl/algorithm/querying.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/stl/algorithm/querying.cpp (original)
+++ trunk/libs/phoenix/test/include/stl/algorithm/querying.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/stl/algorithm/querying.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/stl/algorithm/transformation.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/stl/algorithm/transformation.cpp (original)
+++ trunk/libs/phoenix/test/include/stl/algorithm/transformation.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/stl/algorithm/transformation.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/stl/container.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/stl/container.cpp (original)
+++ trunk/libs/phoenix/test/include/stl/container.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/stl/container.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/stl/container/container.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/stl/container/container.cpp (original)
+++ trunk/libs/phoenix/test/include/stl/container/container.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/stl/container/container.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/support/iterate.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/support/iterate.cpp (original)
+++ trunk/libs/phoenix/test/include/support/iterate.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/support/iterate.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/support/preprocessor/round.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/support/preprocessor/round.cpp (original)
+++ trunk/libs/phoenix/test/include/support/preprocessor/round.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/support/preprocessor/round.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/include/version.cpp
==============================================================================
--- trunk/libs/phoenix/test/include/version.cpp (original)
+++ trunk/libs/phoenix/test/include/version.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,2 +1,7 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/version.hpp>
int main() {}
Modified: trunk/libs/phoenix/test/operator/misc_binary_tests.cpp
==============================================================================
--- trunk/libs/phoenix/test/operator/misc_binary_tests.cpp (original)
+++ trunk/libs/phoenix/test/operator/misc_binary_tests.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -16,9 +16,9 @@
main()
{
using phoenix::ref;
- using phoenix::val;
- using phoenix::arg_names::arg1;
- using phoenix::arg_names::arg2;
+ using phoenix::val;
+ using phoenix::arg_names::arg1;
+ using phoenix::arg_names::arg2;
using std::string;
{ // From Phoenix 1.1 binary tests
Modified: trunk/libs/phoenix/test/operator/unary_tests.cpp
==============================================================================
--- trunk/libs/phoenix/test/operator/unary_tests.cpp (original)
+++ trunk/libs/phoenix/test/operator/unary_tests.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -14,8 +14,8 @@
main()
{
using phoenix::val;
- using phoenix::ref;
- using phoenix::arg_names::arg1;
+ using phoenix::ref;
+ using phoenix::arg_names::arg1;
{
BOOST_TEST((-val(123))() == -123);
BOOST_TEST((- -val(123))() == 123);
Modified: trunk/libs/phoenix/test/scope/this.cpp
==============================================================================
--- trunk/libs/phoenix/test/scope/this.cpp (original)
+++ trunk/libs/phoenix/test/scope/this.cpp 2011-03-18 11:53:14 EDT (Fri, 18 Mar 2011)
@@ -1,3 +1,8 @@
+/*=============================================================================
+ Copyright (c) 2011 Thomas Heller
+ Distributed under the 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/phoenix/core.hpp>
#include <boost/phoenix/scope/this.hpp>
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