forked from boostorg/iterator
Moved generator_iterator.hpp in iterator directory and modernized.
generator_iterator now uses decltype approach to deduce value and reference types instead of the legacy result_type typedef, which was required to be defined by the generator function. The default constructor of generator_iterator now value initializes its data members to avoid using uninitialized data.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#include <boost/generator_iterator.hpp>
|
||||
#include <boost/iterator/generator_iterator.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user