Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct template typed_keyword

boost::nfp::typed_keyword

Synopsis

// 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;
};

Description

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;

PrevUpHomeNext