Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1111

Stop using std::iterator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.7.0, 3.7.0-beta1
    • None
    • API
    • None
    • Minor Change

    Description

      It is deprecated in C++17 because it isn't helpful and makes code more obfuscated. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0174r0.html#2.1

      This would only break source-compatibility with code that foolishly uses std::is_base_of<std::iterator<...>, SOME_MONGO_TYPE>.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: