A callable PolymorphicFunctionObject that is equivalent to the child() function.
More...
#include <traits.hpp>
Classes | |
| struct | result |
| struct | result< This(Expr)> |
Public Member Functions | |
| template<typename Expr > | |
| BOOST_FORCEINLINE result_of::child< Expr &, N > ::type | operator() (Expr &e) const |
| Return the Nth child of the given expression. More... | |
| template<typename Expr > | |
| BOOST_FORCEINLINE result_of::child< Expr const &, N >::type | operator() (Expr const &e) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
A callable PolymorphicFunctionObject that is equivalent to the child() function.
A callable PolymorphicFunctionObject that is equivalent to the child() function. N is required to be an MPL Integral Constant.
|
inline |
Return the Nth child of the given expression.
| expr | The expression node. |
proto::child<N>(expr) | nothrow |
References boost::spirit::x3::detail::call().
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References boost::spirit::x3::detail::call().