Stop using std::iterator

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.7.0, 3.7.0-beta1
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      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>.

            Assignee:
            Unassigned
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: