Boost C++ Libraries 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.

Struct template 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/destruct

  1. named_parameter< T const, unique_id > operator=(T const & t) const;
  2. named_parameter< T, unique_id > operator=(T & t) const;