Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-689

[LWG #280] std::reverse_iterator missing template assignment operator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 4.1.2, 4.1.3, 4.1.4, 4.2.0
    • 4.3.0
    • 24. Iterators
    • None
    • Patch Available
    • Usability

    Description

      LWG Issue 280 added a template assignment operator to reverse_iterator:
      http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#280

      It doesn't look like we ever added the function.

      I'm having trouble coming up with a test case that would reveal its absence so this is just a placeholder to remind us to look into this in more detail to make sure the function really is needed (if not, there's no need to complicate the interface of the template).

      Attachments

        1. stdcxx-689.patch
          9 kB
          Travis Vitek

        Activity

          People

            Unassigned Unassigned
            sebor Martin Sebor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified