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

This is the documentation for a snapshot of the master branch, built from commit 16962962da.
PrevUpHomeNext

Struct template keyword

boost::nfp::keyword

Synopsis

// In header: <boost/test/utils/named_params.hpp>

template<typename unique_id, bool required = false> 
struct keyword {
  // types
  typedef unique_id id;

  // construct/copy/destruct
  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;
};

Description

keyword public construct/copy/destruct

  1. template<typename T> 
      named_parameter< T const, unique_id > operator=(T const & t) const;
  2. template<typename T> named_parameter< T, unique_id > operator=(T & t) const;
  3. named_parameter< char const *, unique_id, char const * > 
    operator=(char const * t) const;

PrevUpHomeNext