Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.

Struct template child

boost::proto::result_of::child — A metafunction that returns the type of the Nth child of a Proto expression, where N is an MPL Integral Constant.


template<typename Expr, typename N = mpl::long_<0> > 
struct child :  proto::result_of::child_c<Expr, N::value> {


proto::result_of::child<Expr, N> is equivalent to proto::result_of::child_c<Expr, N::value>.