![]() |
Home | Libraries | People | FAQ | More |
boost::proto::functional::child_c —
A callable PolymorphicFunctionObject that is equivalent to the
proto::child_c()
function.
// In header: <boost/proto/traits.hpp> template< N> struct child_c : proto::callable { // member classes/structs/unions template<typename This, typename Expr> struct result<> : proto::result_of::child_c< Expr, N > { }; // public member functions template<typename Expr> proto::result_of::child_c< () ; template<typename Expr> proto::result_of::child_c< () ; };
child_c
public member functionstemplate<typename Expr> proto::result_of::child_c< ( expr) ;
Return the N
th child of the given expression.
Parameters: |
|
||
Requires: |
|
||
Returns: |
|
||
Throws: |
Will not throw. |
template<typename Expr> proto::result_of::child_c< ( expr) ;
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.