Changes between Initial Version and Version 1 of Ticket #10672
- Timestamp:
- Oct 22, 2014, 8:21:40 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10672
- Property Status new → assigned
-
Ticket #10672 – Description
initial v1 1 1 The iterator type looks like: 2 2 {{{ 3 3 template <typename NodePointer, typename Value> 4 4 struct iterator … … 6 6 std::forward_iterator_tag, Value, std::ptrdiff_t, 7 7 NodePointer, Value&> 8 }}} 9 The `NodePointer` argument here (which is `boost::unordered::detail::ptr_node<...>`) becomes the `iterator_traits<>::pointer` type. 8 10 9 The NodePointer argument here (which is boost::unordered::detail::ptr_node<...>) becomes the iterator_traits<>::pointer type. 10 11 But iterator's operator->() returns Value *: 12 11 But `iterator's operator->()` returns `Value *`: 12 {{{ 13 13 Value* operator->() const { 14 14 return &node_->value(); 15 15 } 16 }}} 16 17 17 18 Seems like this should be changed.