aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2018-10-24 05:20:35 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2018-10-24 05:20:35 +0000
commita01fc83fea2060f9c52edf7ad47ece0737315426 (patch)
tree6d7cb44c256e0245dc301043972cb42a14d0aaf7
parentd21dad982735475d6397b9833cf1bbcb2e826075 (diff)
downloadgcc-a01fc83fea2060f9c52edf7ad47ece0737315426.zip
gcc-a01fc83fea2060f9c52edf7ad47ece0737315426.tar.gz
gcc-a01fc83fea2060f9c52edf7ad47ece0737315426.tar.bz2
cstddef: Add versioned namespace.
2018-10-24 François Dumont <fdumont@gcc.gnu.org> * include/c_global/cstddef: Add versioned namespace. From-SVN: r265450
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/c_global/cstddef2
2 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 7c583dd..ecf1064 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2018-10-24 François Dumont <fdumont@gcc.gnu.org>
+
+ * include/c_global/cstddef: Add versioned namespace.
+
2018-10-23 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/87704
diff --git a/libstdc++-v3/include/c_global/cstddef b/libstdc++-v3/include/c_global/cstddef
index 0ca3b82..b6d4a13 100644
--- a/libstdc++-v3/include/c_global/cstddef
+++ b/libstdc++-v3/include/c_global/cstddef
@@ -62,6 +62,7 @@ namespace std
#if __cplusplus >= 201703L
namespace std
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_byte 201603
/// std::byte
@@ -187,6 +188,7 @@ namespace std
to_integer(__byte_op_t<_IntegerType> __b) noexcept
{ return _IntegerType(__b); }
+_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
#endif // C++17
} // extern "C++"