[Dune] [#827] rbegin of FieldVector and ISTL classes has surprising semantics

Dune flyspray at dune-project.org
Tue Oct 12 11:58:00 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 - Markus Blatt (mblatt)

----------
less /usr/include/c++/4.4/bits/stl_iterator.h reveals the following implementation detail of reverse_iterator:

     /**
       *  @return  TODO
       *
       *  @doctodo
      */
      reference
      operator*() const
      {
        _Iterator __tmp = current;
        return *--__tmp;
      }

      /**
       *  @return  TODO
       *
       *  @doctodo
      */
      pointer
      operator->() const
      { return &(operator*()); }

----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=827#comment2179

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