Boost C++ Libraries

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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template param_type

boost::nfp::param_type — param_type<Params,Keyword,Default>::type is is the type of the parameter corresponding to the Keyword (if parameter is present) or Default

Synopsis

// In header: <boost/test/utils/named_params.hpp>

template<typename NP, typename Keyword, typename DefaultType = void> 
struct param_type : public mpl::if_< is_same< NP::id, Keyword::id >::type, remove_cv< NP::data_type >::type, DefaultType >
{
};

PrevUpHomeNext