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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class init_list<bool>

boost::unit_test::data::monomorphic::init_list<bool> — Specialization of init_list for type bool.

Synopsis

// In header: <boost/test/data/monomorphic/initializer_list.hpp>


class init_list<bool> {
public:
  // types
  typedef bool               sample;  
  typedef non_proxy_iterator iterator;

  // member classes/structs/unions

  struct non_proxy_iterator {
    // construct/copy/destruct
    non_proxy_iterator(std::vector< bool >::const_iterator &&);

    // public member functions
    bool operator *() const;
    non_proxy_iterator & operator++();

    // public data members
    std::vector< bool >::const_iterator iterator;
  };

  enum @5 { arity = = 1 };

  // construct/copy/destruct
  init_list(std::initializer_list< bool > &&);
  template<class ... Args> init_list(Args &&...);

  // public member functions
  data::size_t size() const;
  iterator begin() const;
};

Description

init_list public construct/copy/destruct

  1. init_list(std::initializer_list< bool > && il);
    Constructor copies content of initializer_list.
  2. template<class ... Args> init_list(Args &&... args);
    Variadic template initialization.

init_list public member functions

  1. data::size_t size() const;
    dataset interface
  2. iterator begin() const;

PrevUpHomeNext