libstdc++: Implementing P0767 - deprecate POD
authorJeanHeyd "ThePhD" Meneide <phdofthehouse@gmail.com>
Thu, 9 Jan 2020 21:31:43 +0000 (21:31 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 9 Jan 2020 21:31:43 +0000 (21:31 +0000)
commit1a6c5064f920adec998932f66955c74fbfd1fa09
tree4dcb48e64f1c608fd68d00c90b3a5c1b25c4b300
parentab3a095c4bf63cc44c57155e4a492737665a43cd
libstdc++: Implementing P0767 - deprecate POD

This adds the deprecated attribute to std::is_pod and std::is_pod_v for
C++20.

2019-12-05  JeanHeyd "ThePhD" Meneide  <phdofthehouse@gmail.com>

* include/bits/c++config (_GLIBCXX20_DEPRECATED): Add new macro.
* include/std/type_traits (is_pod, is_pod_v): Deprecate for C++20.
* testuite/20_util/is_pod/deprecated-2a.cc: New test.

From-SVN: r280065
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/c++config
libstdc++-v3/include/std/type_traits
libstdc++-v3/testsuite/20_util/is_pod/deprecated-2a.cc [new file with mode: 0644]