libstdc++: Normalise _GLIBCXX20_DEPRECATED macro
commit4f49ae607cb1ed312fd63967ede418601343ef24
authorNathaniel Shead <nathanieloshead@gmail.com>
Wed, 28 Dec 2022 14:28:11 +0000 (29 01:28 +1100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 6 Feb 2023 14:23:46 +0000 (6 14:23 +0000)
tree27aceebe2b42946c4414962aac02b21984735271
parentabdea447250e994c2de95a68cbc79d312cc54863
libstdc++: Normalise _GLIBCXX20_DEPRECATED macro

Updates _GLIBCXX20_DEPRECATED to be defined and behave the same as the
versions for other standards (e.g. _GLIBCXX17_DEPRECATED).

libstdc++-v3/ChangeLog:

* doc/doxygen/user.cfg.in (PREDEFINED): Update macros.
* include/bits/c++config (_GLIBCXX20_DEPRECATED): Make
consistent with other 'deprecated' macros.
* include/std/type_traits (is_pod, is_pod_v): Use
_GLIBCXX20_DEPRECATED_SUGGEST instead.

Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/doc/doxygen/user.cfg.in
libstdc++-v3/include/bits/c++config
libstdc++-v3/include/std/type_traits