libstdc++: Add comment to <charconv> explaining C++14 status
authorJonathan Wakely <jwakely@redhat.com>
Mon, 17 Feb 2020 15:44:03 +0000 (15:44 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 17 Feb 2020 15:44:03 +0000 (15:44 +0000)
commitcfbc8fbb37e7b406ab2567ac35629793d4b499e7
treea3be6046f3bd7dbc13e20840aa34b0b885deec7c
parent9cd4eeefcc641dd70d026e08e9d218101b826c52
libstdc++: Add comment to <charconv> explaining C++14 status

This header is intentionally valid in C++14 mode, because no conforming
C++14 program will try to include <charconv> and so it's OK to add new
(non-reserved in C++14) names to namespace std. However, other headers
must not include <charconv> transitively prior to C++17, so that we
don't add those non-reserved names without the user requesting it.

This adds a comment to the header explaining that.

* include/std/charconv: Add comment.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/charconv