We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ffe06 commit e4eaeeaCopy full SHA for e4eaeea
include/boost/iterator/function_output_iterator.hpp
@@ -11,6 +11,7 @@
11
#ifndef BOOST_ITERATOR_FUNCTION_OUTPUT_ITERATOR_HPP
12
#define BOOST_ITERATOR_FUNCTION_OUTPUT_ITERATOR_HPP
13
14
+#include <cstddef>
15
#include <iterator>
16
#include <boost/config.hpp>
17
#include <boost/core/enable_if.hpp>
@@ -62,7 +63,7 @@ namespace iterators {
62
63
public:
64
typedef std::output_iterator_tag iterator_category;
65
typedef void value_type;
- typedef void difference_type;
66
+ typedef std::ptrdiff_t difference_type;
67
typedef void pointer;
68
typedef void reference;
69
0 commit comments