Message ID | 20200217160508.GA1539839@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Add comment to <charconv> explaining C++14 status | expand |
diff --git a/libstdc++-v3/include/std/charconv b/libstdc++-v3/include/std/charconv index 9b5a1f7cab8..ff7dfa12268 100644 --- a/libstdc++-v3/include/std/charconv +++ b/libstdc++-v3/include/std/charconv @@ -31,6 +31,10 @@ #pragma GCC system_header +// As an extension we support <charconv> in C++14, but this header should not +// be included by any other library headers in C++14 mode. This ensures that +// the names defined in this header are not added to namespace std unless a +// user explicitly includes <charconv> in C++14 code. #if __cplusplus >= 201402L #include <type_traits>