Created on 2016-09-21.00:00:00 last changed 98 months ago
Proposed resolution:
This wording is relative to N4606.
Modify [reverse.iter.opref] as indicated:
constexpr pointer operator->() const;-1-
Returns: addressof(operator*()).Effects: If Iterator is a pointer type, as if by:Iterator tmp = current; return --tmp;Otherwise, as if by:
Iterator tmp = current; --tmp; return tmp.operator->();
[ Issues processing Telecon 2016-10-7 ]
Set status to Duplicate
Duplicate: 1052
std::reverse_iterator<Iterator>::operator->() is specified to call addressof(operator*()), but it returns iterator_traits<Iterator>::pointer, which may be a fancy pointer type from which no conversion from T* is possible. It should instead delegate to the underlying iterator's operator->().
History | |||
---|---|---|---|
Date | User | Action | Args |
2016-10-08 04:58:13 | admin | set | messages: + msg8545 |
2016-10-08 04:58:13 | admin | set | status: new -> dup |
2016-10-03 15:44:01 | admin | set | messages: + msg8530 |
2016-09-21 00:00:00 | admin | create |