From: Jonathan Wakely Date: Thu, 12 Sep 2024 09:55:23 +0000 (+0100) Subject: libstdc++: Remove unused alias template in std::optional X-Git-Tag: basepoints/gcc-16~5937 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5f55b6e732d119a5c4a1d8e48d1364eb94d9d1d;p=thirdparty%2Fgcc.git libstdc++: Remove unused alias template in std::optional I added this __is_bool alias template in r15-2309-g6d86486292acbe but it isn't actually used so can be removed. libstdc++-v3/ChangeLog: * include/std/optional (__is_bool): Remove. --- diff --git a/libstdc++-v3/include/std/optional b/libstdc++-v3/include/std/optional index 933a5b15e56..6a8e76f60e3 100644 --- a/libstdc++-v3/include/std/optional +++ b/libstdc++-v3/include/std/optional @@ -850,8 +850,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using __not_self = __not_>>; template using __not_tag = __not_>>; - template - using __is_bool = is_same, bool>; template using _Requires = enable_if_t<__and_v<_Cond...>, bool>; #endif