Issue |
143694
|
Summary |
[libc++] `basic_string_view` is exposed and depended by `bitset` before C++17
|
Labels |
question,
libc++
|
Assignees |
|
Reporter |
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?
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs