...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::nfp::typed_keyword
// In header: <boost/test/utils/named_params.hpp> template<typename T, typename unique_id, bool required> struct typed_keyword : public boost::nfp::keyword< unique_id, required > { // types typedef unique_id id; // construct/copy/destruct named_parameter< T const, unique_id > operator=(T const &) const; named_parameter< T, unique_id > operator=(T &) const; };
typed_keyword
public
construct/copy/destructnamed_parameter< T const, unique_id > operator=(T const & t) const;
named_parameter< T, unique_id > operator=(T & t) const;