...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<bool, unique_id, false>
// In header: <boost/test/utils/named_params.hpp> template<typename unique_id> struct typed_keyword<bool, unique_id, false> : public boost::nfp::keyword< unique_id, false >, public boost::nfp::named_parameter< bool, unique_id, bool > { // types typedef unique_id id; typedef unspecified nil_t; typedef bool data_type; typedef bool ref_type; // construct/copy/destruct typed_keyword(); // public member functions named_parameter< bool, unique_id, bool > operator!() const; ref_type operator[](keyword< unique_id, true >) const; ref_type operator[](keyword< unique_id, false >) const; nil_t operator[](keyword< UnknownId, false >) const; bool has(keyword< unique_id, false >) const; bool has(keyword< UnknownId, false >) const; void erase(keyword< unique_id, false >) const; void erase(keyword< UnknownId, false >) const; void apply_to(Visitor &) const; named_parameter_combine< NP, named_parameter< bool, unique_id, bool > > operator,(NP const &) const; };
typed_keyword
public member functionsnamed_parameter< bool, unique_id, bool > operator!() const;
ref_type operator[](keyword< unique_id, true >) const;
ref_type operator[](keyword< unique_id, false >) const;
nil_t operator[](keyword< UnknownId, false >) const;
bool has(keyword< unique_id, false >) const;
bool has(keyword< UnknownId, false >) const;
void erase(keyword< unique_id, false >) const;
void erase(keyword< UnknownId, false >) const;
void apply_to(Visitor & V) const;
named_parameter_combine< NP, named_parameter< bool, unique_id, bool > > operator,(NP const & np) const;