From ce5a0a8744f43d120864e1bed334cfb70901827a Mon Sep 17 00:00:00 2001 From: Zach Laine Date: Thu, 1 Dec 2016 00:03:35 -0600 Subject: [PATCH] Move lib headers to boost/yap. --- {detail => boost/yap/detail}/default_eval.hpp | 4 ++-- {detail => boost/yap/detail}/expression.hpp | 2 +- expression.hpp => boost/yap/expression.hpp | 8 ++++---- expression_fwd.hpp => boost/yap/expression_fwd.hpp | 0 operators.hpp => boost/yap/operators.hpp | 0 print.hpp => boost/yap/print.hpp | 2 +- user_macros.hpp => boost/yap/user_macros.hpp | 0 example/calc1.cpp | 2 +- example/calc2a.cpp | 2 +- example/calc2b.cpp | 2 +- example/calc3.cpp | 2 +- example/hello_world.cpp | 2 +- example/lazy_vector.cpp | 2 +- example/tarray.cpp | 2 +- example/vec3.cpp | 2 +- example/vector.cpp | 2 +- perf/code_gen_samples.cpp | 2 +- test/call_expr.cpp | 2 +- test/compile_const_term.cpp | 2 +- test/compile_copy_only_types.cpp | 2 +- test/compile_is_expr.cpp | 2 +- test/compile_move_only_types.cpp | 2 +- test/compile_placeholders.cpp | 2 +- test/compile_term_plus_expr.cpp | 2 +- test/compile_term_plus_term.cpp | 2 +- test/compile_term_plus_x.cpp | 2 +- test/compile_term_plus_x_this_ref_overloads.cpp | 2 +- test/compile_x_plus_term.cpp | 2 +- test/default_eval.cpp | 2 +- test/depth_stress_test_left.cpp | 2 +- test/depth_stress_test_right.cpp | 2 +- test/deref.cpp | 2 +- test/left.cpp | 2 +- test/placeholder_eval.cpp | 2 +- test/print.cpp | 4 ++-- test/reference_returns.cpp | 2 +- test/right.cpp | 2 +- test/user_eval_expression_as.cpp | 2 +- test/user_expression_transform.cpp | 2 +- test/user_expression_transform_2.cpp | 2 +- test/user_expression_transform_3.cpp | 2 +- test/user_operator_and_eval_expression_as.cpp | 2 +- test/user_operator_eval.cpp | 2 +- test/value.cpp | 2 +- 44 files changed, 46 insertions(+), 46 deletions(-) rename {detail => boost/yap/detail}/default_eval.hpp (99%) rename {detail => boost/yap/detail}/expression.hpp (99%) rename expression.hpp => boost/yap/expression.hpp (99%) rename expression_fwd.hpp => boost/yap/expression_fwd.hpp (100%) rename operators.hpp => boost/yap/operators.hpp (100%) rename print.hpp => boost/yap/print.hpp (98%) rename user_macros.hpp => boost/yap/user_macros.hpp (100%) diff --git a/detail/default_eval.hpp b/boost/yap/detail/default_eval.hpp similarity index 99% rename from detail/default_eval.hpp rename to boost/yap/detail/default_eval.hpp index 8a5010d..80219b9 100644 --- a/detail/default_eval.hpp +++ b/boost/yap/detail/default_eval.hpp @@ -1,8 +1,8 @@ #ifndef BOOST_YAP_DETAIL_DEFAULT_EVAL_HPP_INCLUDED #define BOOST_YAP_DETAIL_DEFAULT_EVAL_HPP_INCLUDED -#include "../expression_fwd.hpp" -#include "../operators.hpp" +#include +#include #include diff --git a/detail/expression.hpp b/boost/yap/detail/expression.hpp similarity index 99% rename from detail/expression.hpp rename to boost/yap/detail/expression.hpp index a92d979..e66a1e2 100644 --- a/detail/expression.hpp +++ b/boost/yap/detail/expression.hpp @@ -1,7 +1,7 @@ #ifndef BOOST_YAP_DETAIL_EXPRESSION_HPP_INCLUDED #define BOOST_YAP_DETAIL_EXPRESSION_HPP_INCLUDED -#include "../expression_fwd.hpp" +#include #include #include diff --git a/expression.hpp b/boost/yap/expression.hpp similarity index 99% rename from expression.hpp rename to boost/yap/expression.hpp index b46ce1e..071e936 100644 --- a/expression.hpp +++ b/boost/yap/expression.hpp @@ -1,9 +1,9 @@ #ifndef BOOST_YAP_EXPRESSION_HPP_INCLUDED #define BOOST_YAP_EXPRESSION_HPP_INCLUDED -#include "expression_fwd.hpp" -#include "user_macros.hpp" -#include "detail/expression.hpp" +#include +#include +#include #include #include @@ -499,7 +499,7 @@ namespace boost::yap { } -#include "detail/default_eval.hpp" +#include namespace boost::yap { diff --git a/expression_fwd.hpp b/boost/yap/expression_fwd.hpp similarity index 100% rename from expression_fwd.hpp rename to boost/yap/expression_fwd.hpp diff --git a/operators.hpp b/boost/yap/operators.hpp similarity index 100% rename from operators.hpp rename to boost/yap/operators.hpp diff --git a/print.hpp b/boost/yap/print.hpp similarity index 98% rename from print.hpp rename to boost/yap/print.hpp index fa493c1..9fe50b0 100644 --- a/print.hpp +++ b/boost/yap/print.hpp @@ -1,7 +1,7 @@ #ifndef BOOST_YAP_PRINT_HPP_INCLUDED #define BOOST_YAP_PRINT_HPP_INCLUDED -#include "expression_fwd.hpp" +#include #include #include diff --git a/user_macros.hpp b/boost/yap/user_macros.hpp similarity index 100% rename from user_macros.hpp rename to boost/yap/user_macros.hpp diff --git a/example/calc1.cpp b/example/calc1.cpp index 2b562c3..38ad786 100644 --- a/example/calc1.cpp +++ b/example/calc1.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/example/calc2a.cpp b/example/calc2a.cpp index 722b745..acdca6f 100644 --- a/example/calc2a.cpp +++ b/example/calc2a.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/example/calc2b.cpp b/example/calc2b.cpp index 0345035..3b4c028 100644 --- a/example/calc2b.cpp +++ b/example/calc2b.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/example/calc3.cpp b/example/calc3.cpp index 8a09404..22aae32 100644 --- a/example/calc3.cpp +++ b/example/calc3.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/example/hello_world.cpp b/example/hello_world.cpp index a56f6b4..7979ab0 100644 --- a/example/hello_world.cpp +++ b/example/hello_world.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/example/lazy_vector.cpp b/example/lazy_vector.cpp index 39beea9..1723f44 100644 --- a/example/lazy_vector.cpp +++ b/example/lazy_vector.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include #include diff --git a/example/tarray.cpp b/example/tarray.cpp index b932e9e..a4fd280 100644 --- a/example/tarray.cpp +++ b/example/tarray.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include #include diff --git a/example/vec3.cpp b/example/vec3.cpp index 144b424..392d62e 100644 --- a/example/vec3.cpp +++ b/example/vec3.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include #include diff --git a/example/vector.cpp b/example/vector.cpp index dc8fcd2..971c4d3 100644 --- a/example/vector.cpp +++ b/example/vector.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include #include diff --git a/perf/code_gen_samples.cpp b/perf/code_gen_samples.cpp index 25347f7..3d0897c 100644 --- a/perf/code_gen_samples.cpp +++ b/perf/code_gen_samples.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include template diff --git a/test/call_expr.cpp b/test/call_expr.cpp index ad771ec..d529d34 100644 --- a/test/call_expr.cpp +++ b/test/call_expr.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/compile_const_term.cpp b/test/compile_const_term.cpp index 4a7a85f..e3d2035 100644 --- a/test/compile_const_term.cpp +++ b/test/compile_const_term.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include template using term = boost::yap::terminal; diff --git a/test/compile_copy_only_types.cpp b/test/compile_copy_only_types.cpp index bc155fe..55da7ac 100644 --- a/test/compile_copy_only_types.cpp +++ b/test/compile_copy_only_types.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/compile_is_expr.cpp b/test/compile_is_expr.cpp index 196e4f5..9a80536 100644 --- a/test/compile_is_expr.cpp +++ b/test/compile_is_expr.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include namespace yap = boost::yap; diff --git a/test/compile_move_only_types.cpp b/test/compile_move_only_types.cpp index 8527491..6489349 100644 --- a/test/compile_move_only_types.cpp +++ b/test/compile_move_only_types.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/compile_placeholders.cpp b/test/compile_placeholders.cpp index 3405875..bfbaade 100644 --- a/test/compile_placeholders.cpp +++ b/test/compile_placeholders.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include template using term = boost::yap::terminal; diff --git a/test/compile_term_plus_expr.cpp b/test/compile_term_plus_expr.cpp index 3e84946..d7fa264 100644 --- a/test/compile_term_plus_expr.cpp +++ b/test/compile_term_plus_expr.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include template using term = boost::yap::terminal; diff --git a/test/compile_term_plus_term.cpp b/test/compile_term_plus_term.cpp index 8150280..1fd7d2f 100644 --- a/test/compile_term_plus_term.cpp +++ b/test/compile_term_plus_term.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/compile_term_plus_x.cpp b/test/compile_term_plus_x.cpp index 0ee2b7c..3af5fea 100644 --- a/test/compile_term_plus_x.cpp +++ b/test/compile_term_plus_x.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/compile_term_plus_x_this_ref_overloads.cpp b/test/compile_term_plus_x_this_ref_overloads.cpp index 359bc96..e651783 100644 --- a/test/compile_term_plus_x_this_ref_overloads.cpp +++ b/test/compile_term_plus_x_this_ref_overloads.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/compile_x_plus_term.cpp b/test/compile_x_plus_term.cpp index 4e8ac5e..08eb89c 100644 --- a/test/compile_x_plus_term.cpp +++ b/test/compile_x_plus_term.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/default_eval.cpp b/test/default_eval.cpp index cf148cf..ccb7fd4 100644 --- a/test/default_eval.cpp +++ b/test/default_eval.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/depth_stress_test_left.cpp b/test/depth_stress_test_left.cpp index 9c4ef59..c2860c2 100644 --- a/test/depth_stress_test_left.cpp +++ b/test/depth_stress_test_left.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/depth_stress_test_right.cpp b/test/depth_stress_test_right.cpp index 2e7ca79..62e6019 100644 --- a/test/depth_stress_test_right.cpp +++ b/test/depth_stress_test_right.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/deref.cpp b/test/deref.cpp index d295d5f..741e7ea 100644 --- a/test/deref.cpp +++ b/test/deref.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/left.cpp b/test/left.cpp index f2810cd..a9b4285 100644 --- a/test/left.cpp +++ b/test/left.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/placeholder_eval.cpp b/test/placeholder_eval.cpp index 11e48f7..a6a33f1 100644 --- a/test/placeholder_eval.cpp +++ b/test/placeholder_eval.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/print.cpp b/test/print.cpp index 6dcbf9d..ee242b8 100644 --- a/test/print.cpp +++ b/test/print.cpp @@ -1,5 +1,5 @@ -#include "expression.hpp" -#include "print.hpp" +#include +#include #include diff --git a/test/reference_returns.cpp b/test/reference_returns.cpp index 8f9052a..8228384 100644 --- a/test/reference_returns.cpp +++ b/test/reference_returns.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/right.cpp b/test/right.cpp index c881881..3204cbd 100644 --- a/test/right.cpp +++ b/test/right.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/user_eval_expression_as.cpp b/test/user_eval_expression_as.cpp index 3c43fec..a0c4b1d 100644 --- a/test/user_eval_expression_as.cpp +++ b/test/user_eval_expression_as.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/user_expression_transform.cpp b/test/user_expression_transform.cpp index 1ec2377..df068cd 100644 --- a/test/user_expression_transform.cpp +++ b/test/user_expression_transform.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/user_expression_transform_2.cpp b/test/user_expression_transform_2.cpp index 8424e5b..f79fb60 100644 --- a/test/user_expression_transform_2.cpp +++ b/test/user_expression_transform_2.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/user_expression_transform_3.cpp b/test/user_expression_transform_3.cpp index e172e98..9e5bd19 100644 --- a/test/user_expression_transform_3.cpp +++ b/test/user_expression_transform_3.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include diff --git a/test/user_operator_and_eval_expression_as.cpp b/test/user_operator_and_eval_expression_as.cpp index 1a103c9..f0ce751 100644 --- a/test/user_operator_and_eval_expression_as.cpp +++ b/test/user_operator_and_eval_expression_as.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/user_operator_eval.cpp b/test/user_operator_eval.cpp index b6e14ae..48385d5 100644 --- a/test/user_operator_eval.cpp +++ b/test/user_operator_eval.cpp @@ -1,5 +1,5 @@ #define BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE -#include "expression.hpp" +#include #include diff --git a/test/value.cpp b/test/value.cpp index 357ac7d..adfc2b0 100644 --- a/test/value.cpp +++ b/test/value.cpp @@ -1,4 +1,4 @@ -#include "expression.hpp" +#include #include