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 674e8b9 commit 13947ebCopy full SHA for 13947eb
cppitertools/chain.hpp
@@ -142,8 +142,8 @@ class iter::impl::Chained {
142
using iterator_category = std::input_iterator_tag;
143
using value_type = typename IteratorData<TupTypeT>::TraitsValue;
144
using difference_type = std::ptrdiff_t;
145
- using pointer = value_type*;
146
- using reference = value_type&;
+ using pointer = typename IteratorData<TupTypeT>::ArrowType;
+ using reference = typename IteratorData<TupTypeT>::DerefType;
147
148
Iterator(std::size_t i, typename IterData::IterTupType&& iters,
149
typename IterData::IterTupType&& ends)
0 commit comments