...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::discard_iterator — An iterator which discards all values written to it.
// In header: <boost/compute/iterator/discard_iterator.hpp> class discard_iterator { public: // types typedef unspecified super_type; typedef super_type::reference reference; typedef super_type::difference_type difference_type; // construct/copy/destruct discard_iterator(size_t = 0); discard_iterator(const discard_iterator &); discard_iterator & operator=(const discard_iterator &); ~discard_iterator(); };
See Also:
make_discard_iterator(), constant_iterator
discard_iterator
public
construct/copy/destructdiscard_iterator(size_t index = 0);
discard_iterator(const discard_iterator & other);
discard_iterator & operator=(const discard_iterator & other);
~discard_iterator();