...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, required>
// In header: <boost/test/utils/named_params.hpp> template<typename unique_id, bool required> struct typed_keyword<bool, unique_id, required> : public boost::nfp::keyword< unique_id, required >, public boost::nfp::named_parameter< bool, unique_id, bool > { // types typedef unique_id id; typedef bool data_type; typedef bool ref_type; // public member functions typed_keyword(); 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 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; template<typename NP> named_parameter_combine< NP, Derived > operator,(NP const &) const; };
typed_keyword
public member functionstyped_keyword();
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 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;
template<typename NP> named_parameter_combine< NP, Derived > operator,(NP const & np) const;