Changes between Initial Version and Version 1 of Ticket #10672


Ignore:
Timestamp:
Oct 22, 2014, 8:21:40 PM (8 years ago)
Author:
Daniel James
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10672

    • Property Status newassigned
  • Ticket #10672 – Description

    initial v1  
    11The iterator type looks like:
    2 
     2{{{
    33template <typename NodePointer, typename Value>
    44struct iterator
     
    66        std::forward_iterator_tag, Value, std::ptrdiff_t,
    77        NodePointer, Value&>
     8}}}
     9The `NodePointer` argument here (which is `boost::unordered::detail::ptr_node<...>`) becomes the `iterator_traits<>::pointer` type.
    810
    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 
     11But `iterator's operator->()` returns `Value *`:
     12{{{
    1313Value* operator->() const {
    1414    return &node_->value();
    1515}
     16}}}
    1617
    1718Seems like this should be changed.