[Dune] [#827] rbegin of FieldVector and ISTL classes has surprising semantics
Dune
flyspray at dune-project.org
Tue Oct 12 18:49:33 CEST 2010
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#827 - rbegin of FieldVector and ISTL classes has surprising semantics
User who did this - Jö Fahlke (joe)
----------
@Markus: To me, the paragraph you quoted appears to mandate a certain
relation of the iterator and the corresponding reverse_iterator. It does not
say how this behaviour must be implemented. AFAICT it is perfectly OK to
specialize std::reverse_iterator<FieldVector<K,n>::iterator>. In particular,
dereferencing can be implemented as
reference operator*() const { return current[-1]; }
in the case of random_access iterators.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=827#comment2182
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list