Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5404

[C++] nonstd::string_view conflicts with std::string_view in c++17

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • C++

    Description

      From GitHub issue https://github.com/apache/arrow/issues/4294

      Our vendored string_view header will forward to std::string_view if that is available. This can produce ABI conflicts and build errors when arrow or applications which use it are built against c++17.

      I think it's acceptable to just force usage of nonstd's implementation with #define nssv_CONFIG_SELECT_STRING_VIEW nssv_STRING_VIEW_NONSTD

      Attachments

        Issue Links

          Activity

            People

              bkietz Ben Kietzman
              bkietz Ben Kietzman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m