A callable PolymorphicFunctionObject that is equivalent to the child_c()
function.
More...
#include <traits.hpp>
Classes | |
struct | result |
struct | result< This(Expr)> |
Public Member Functions | |
template<typename Expr > | |
BOOST_FORCEINLINE result_of::child_c< Expr &, N > ::type | operator() (Expr &e) const |
Return the Nth child of the given expression. More... | |
template<typename Expr > | |
BOOST_FORCEINLINE result_of::child_c< 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_c()
function.
|
inline |
Return the Nth child of the given expression.
expr | The expression node. |
proto::child_c<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().