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

bsoncxx::oid oid(const string::view_or_value &str) mismatching git repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 3.0.0, 3.0.1
    • Fix Version/s: None
    • Component/s: API, BSON
    • Labels:
      None

      Description

      When I am trying to access this constructor, my compiler says undefined reference to this constructor.

      I checked the source code in both GIT and my local repo, it is string_view for this constructor. However, after installing the cxx driver (both 3.0.0 and 3.0.1), the file /usr/local/include/bsoncxx/v_noabi/bsoncxx/oid.hpp does not have "oid::oid(const bsoncxx::stdx::string_view& str)" but it has "oid (const string::view_or_value &str)".

      "oid::oid(const char* bytes, std::size_t len)" is working for me and I can use it as a work around.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: