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 is_forward_iterable

boost::unit_test::is_forward_iterable

Synopsis

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

template<typename T> 
struct is_forward_iterable {
  // types
  typedef std::remove_reference< T >::type T_ref;      
  typedef unspecified                      is_fwd_it_t;
  typedef mpl::bool_< is_fwd_it_t::value > type;       

  enum @3 { value = = is_fwd_it_t::value };
};

Description

Indicates that a specific type implements the forward iterable concept.


PrevUpHomeNext