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

Don't call string_view::to_string

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.4.0
    • Affects Version/s: 3.3.1
    • Component/s: None
    • None

      MNMLSTC defines string_view::to_string but that is not part of STL. So client code that may work when using MNMLSTC may not compile otherwise. Example:

      bsoncxx::stdx::string_view view("test");
      std::string copy = view.to_string();
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: