Skip to content

[libc++] basic_string_view is exposed and depended by bitset before C++17 #143694

Closed
@frederick-vs-ja

Description

@frederick-vs-ja

Enabling basic_string_view before C++17 seems to be an intended extension but doesn't seem documented. I'm not sure whether we should provide a more pedantic option to disable it before C++17.

Also, libc++'s bitset depends on basic_string_view before C++17. It's possibly better (for the purpose of throughput) to avoid such dependency by decompose the basic_string_view parameter of __init_from_string_view into pointer and size. Should we make such change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions