aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-05-11 16:35:45 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-05-13 13:32:22 +0100
commite4905f11852d722cd711b53a5626245528ace1d2 (patch)
tree715f08b60d0bae7d829a8de1577ea4b7200f6e6a /gcc
parent4163b0be816f596147fa9a2732fc652e4ea9572c (diff)
downloadgcc-e4905f11852d722cd711b53a5626245528ace1d2.zip
gcc-e4905f11852d722cd711b53a5626245528ace1d2.tar.gz
gcc-e4905f11852d722cd711b53a5626245528ace1d2.tar.bz2
libstdc++: Add macros for the inline namespace std::_V2
Use macros to open and close the inline namespace _V2 that is used for ABI versioning of individual components such as chrono::system_clock. This allows the namespace to be hidden in the docs generated by Doxygen, so that we document std::foo instead of std::_V2::foo. This also makes it easy to remove that namespace entirely for the gnu-versioned-namespace build, where everything is already versioned as std::__8 and there are no backwards compatibility guarantees. libstdc++-v3/ChangeLog: * doc/doxygen/user.cfg.in (PREDEFINED): Expand new macros to nothing. * include/bits/c++config (_GLIBCXX_BEGIN_INLINE_ABI_NAMESPACE) (_GLIBCXX_END_INLINE_ABI_NAMESPACE): Define new macros. * include/bits/algorithmfwd.h (_V2::__rotate): Use new macros for the namespace. * include/bits/chrono.h (chrono::_V2::system_clock): Likewise. * include/bits/stl_algo.h (_V2::__rotate): Likewise. * include/std/condition_variable (_V2::condition_variable_any): Likewise. * include/std/system_error (_V2::error_category): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions