...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::keyword
// In header: <boost/test/utils/named_params.hpp> template<typename unique_id, bool required = false> struct keyword { // types typedef unique_id id; // public member functions template<typename T> named_parameter< T const, unique_id > operator=(T const &) const; template<typename T> named_parameter< T, unique_id > operator=(T &) const; named_parameter< char const *, unique_id, char const * > operator=(char const *) const; };
keyword
public member functionstemplate<typename T> named_parameter< T const, unique_id > operator=(T const & t) const;
template<typename T> named_parameter< T, unique_id > operator=(T & t) const;
named_parameter< char const *, unique_id, char const * > operator=(char const * t) const;