cstddef: Add versioned namespace.
2018-10-24 François Dumont <fdumont@gcc.gnu.org> * include/c_global/cstddef: Add versioned namespace. From-SVN: r265450
This commit is contained in:
parent
d21dad9827
commit
a01fc83fea
|
@ -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>
|
2018-10-23 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
PR libstdc++/87704
|
PR libstdc++/87704
|
||||||
|
|
|
@ -62,6 +62,7 @@ namespace std
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
#define __cpp_lib_byte 201603
|
#define __cpp_lib_byte 201603
|
||||||
|
|
||||||
/// std::byte
|
/// std::byte
|
||||||
|
@ -187,6 +188,7 @@ namespace std
|
||||||
to_integer(__byte_op_t<_IntegerType> __b) noexcept
|
to_integer(__byte_op_t<_IntegerType> __b) noexcept
|
||||||
{ return _IntegerType(__b); }
|
{ return _IntegerType(__b); }
|
||||||
|
|
||||||
|
_GLIBCXX_END_NAMESPACE_VERSION
|
||||||
} // namespace std
|
} // namespace std
|
||||||
#endif // C++17
|
#endif // C++17
|
||||||
} // extern "C++"
|
} // extern "C++"
|
||||||
|
|
Loading…
Reference in New Issue