Ticket #3987: config-proto.patch
File config-proto.patch, 6.5 KB (added by , 13 years ago) |
---|
-
boost/proto/generate.hpp
99 99 /// \param expr A Proto expression 100 100 /// \return expr 101 101 template<typename Expr> 102 #if def BOOST_HAS_DECLTYPE102 #ifndef BOOST_NO_DECLTYPE 103 103 Expr 104 104 #else 105 105 Expr const & -
boost/proto/traits.hpp
542 542 /// \pre <tt>matches\<Expr, terminal\<T\> \>::::value</tt> is \c true. 543 543 /// \return \c e 544 544 /// \throw nothrow 545 #if def BOOST_HAS_DECLTYPE545 #ifndef BOOST_NO_DECLTYPE 546 546 result_type 547 547 #else 548 548 typename impl::expr_param … … 612 612 /// \pre <tt>matches\<Expr, nullary_expr\<Tag, T\> \>::::value</tt> is \c true. 613 613 /// \return \c e 614 614 /// \throw nothrow 615 #if def BOOST_HAS_DECLTYPE615 #ifndef BOOST_NO_DECLTYPE 616 616 result_type 617 617 #else 618 618 typename impl::expr_param -
boost/proto/extends.hpp
357 357 }; \ 358 358 /**/ 359 359 360 #if def BOOST_HAS_VARIADIC_TMPL360 #ifndef BOOST_NO_VARIADIC_TEMPLATES 361 361 #define BOOST_PROTO_EXTENDS_FUNCTION_CONST() \ 362 362 BOOST_PROTO_EXTENDS_FUNCTION_() \ 363 363 BOOST_PROTO_DEFINE_FUN_OP_VARIADIC_IMPL_(1) \ … … 473 473 // the operator() overloads, which is more efficient. 474 474 BOOST_PROTO_EXTENDS_FUNCTION_() 475 475 476 #if def BOOST_HAS_VARIADIC_TMPL476 #ifndef BOOST_NO_VARIADIC_TEMPLATES 477 477 BOOST_PROTO_DEFINE_FUN_OP_VARIADIC_IMPL_(1) 478 478 #else 479 479 /// INTERNAL ONLY … … 516 516 // the operator() overloads, which is more efficient. 517 517 BOOST_PROTO_EXTENDS_FUNCTION_() 518 518 519 #if def BOOST_HAS_VARIADIC_TMPL519 #ifndef BOOST_NO_VARIADIC_TEMPLATES 520 520 BOOST_PROTO_DEFINE_FUN_OP_VARIADIC_IMPL_(0) 521 521 BOOST_PROTO_DEFINE_FUN_OP_VARIADIC_IMPL_(1) 522 522 #else -
boost/proto/detail/decltype.hpp
35 35 #include <boost/utility/enable_if.hpp> 36 36 #include <boost/proto/repeat.hpp> 37 37 38 #if def BOOST_HAS_DECLTYPE38 #ifndef BOOST_NO_DECLTYPE 39 39 # define BOOST_PROTO_DECLTYPE_(EXPR, TYPE) typedef decltype(EXPR) TYPE; 40 40 #else 41 41 # define BOOST_PROTO_DECLTYPE_NESTED_TYPEDEF_TPL_(NESTED, EXPR) \ -
boost/proto/matches.hpp
570 570 571 571 /// \param expr An expression 572 572 /// \return \c e 573 #if def BOOST_HAS_DECLTYPE573 #ifndef BOOST_NO_DECLTYPE 574 574 result_type 575 575 #else 576 576 typename impl::expr_param … … 609 609 /// \param e An expression 610 610 /// \pre <tt>matches\<Expr,not_\>::::value</tt> is \c true. 611 611 /// \return \c e 612 #if def BOOST_HAS_DECLTYPE612 #ifndef BOOST_NO_DECLTYPE 613 613 result_type 614 614 #else 615 615 typename impl::expr_param -
boost/proto/transform/arg.hpp
38 38 /// \param e The current expression. 39 39 /// \return \c e 40 40 /// \throw nothrow 41 #if def BOOST_HAS_DECLTYPE41 #ifndef BOOST_NO_DECLTYPE 42 42 result_type 43 43 #else 44 44 typename impl::expr_param … … 75 75 /// \param s The current state. 76 76 /// \return \c s 77 77 /// \throw nothrow 78 #if def BOOST_HAS_DECLTYPE78 #ifndef BOOST_NO_DECLTYPE 79 79 result_type 80 80 #else 81 81 typename impl::state_param … … 113 113 /// \param d The current data. 114 114 /// \return \c d 115 115 /// \throw nothrow 116 #if def BOOST_HAS_DECLTYPE116 #ifndef BOOST_NO_DECLTYPE 117 117 result_type 118 118 #else 119 119 typename impl::data_param … … 154 154 /// \param e The current expression. 155 155 /// \return <tt>proto::child_c\<N\>(e)</tt> 156 156 /// \throw nothrow 157 #if def BOOST_HAS_DECLTYPE157 #ifndef BOOST_NO_DECLTYPE 158 158 result_type 159 159 #else 160 160 typename result_of::child_c<typename impl::expr_param, N>::type … … 194 194 /// \param e The current expression. 195 195 /// \return <tt>proto::value(e)</tt> 196 196 /// \throw nothrow 197 #if def BOOST_HAS_DECLTYPE197 #ifndef BOOST_NO_DECLTYPE 198 198 typename mpl::if_c<is_array<result_type>::value, result_type &, result_type>::type 199 199 #else 200 200 typename result_of::value<typename impl::expr_param>::type -
boost/proto/transform/pass_through.hpp
67 67 /// \param e An expression 68 68 /// \return \c e 69 69 /// \throw nothrow 70 #if def BOOST_HAS_DECLTYPE70 #ifndef BOOST_NO_DECLTYPE 71 71 result_type 72 72 #else 73 73 typename pass_through_impl::expr_param