]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/std/type_traits
libstdc++: use __bool_constant instead of integral_constant
authorKen Matsui <kmatsui@cs.washington.edu>
Thu, 23 Mar 2023 11:06:08 +0000 (04:06 -0700)
committerPatrick Palka <ppalka@redhat.com>
Wed, 17 May 2023 15:39:00 +0000 (11:39 -0400)
commit637edefc5863cf3b572c0c0bcd58fcc01ee60184
tree44053803417a92f58c1d2b92fcf8ac55e77a9b07
parente682d300261c0f2c8a5cc51151adabfe98e1006c
libstdc++: use __bool_constant instead of integral_constant

In the type_traits header, both integral_constant<bool> and __bool_constant
are used. This patch unifies those usages into __bool_constant.

libstdc++-v3/ChangeLog:

* include/std/type_traits: Use __bool_constant instead of
integral_constant.

Signed-off-by: Ken Matsui <kmatsui@cs.washington.edu>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Reviewed-by: Patrick Palka <ppalka@redhat.com>
libstdc++-v3/include/std/type_traits