From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 3D0593858D32; Wed, 5 Jul 2023 06:39:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D0593858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688539179; bh=XR+2lGey3PEuNpHjNWF4gDiek/ytj2H1gAybPCqrUlE=; h=From:To:Subject:Date:From; b=CNIk+KoHoYZNYsGDaYxeKPyjxul+MIdNXNnsg84++oUljb2xN/VGX2BgGymKiFl+U aPRelF4atEqxWTnhtai53zYeb+x7s9b9dseHeEzZ+HyHCZ9I4JTYNGT8E3QZ2c0jit /z8YKzQXLs3acyf8gitg/tVksBkucpXjo5OAnxDM= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-2304] libstdc++: Add redundant 'typename' to std::projected X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 8377cf1bf41a0a9d9d49de807b2341f0bf5d30cf X-Git-Newrev: 49f2b325ec7a49e41fc107239542eae0eb6d364e Message-Id: <20230705063939.3D0593858D32@sourceware.org> Date: Wed, 5 Jul 2023 06:39:39 +0000 (GMT) List-Id: https://gcc.gnu.org/g:49f2b325ec7a49e41fc107239542eae0eb6d364e commit r14-2304-g49f2b325ec7a49e41fc107239542eae0eb6d364e Author: Jonathan Wakely Date: Tue Jul 4 15:29:35 2023 +0100 libstdc++: Add redundant 'typename' to std::projected This is needed by Clang 15. libstdc++-v3/ChangeLog: * include/bits/iterator_concepts.h (projected): Add typename. Diff: --- libstdc++-v3/include/bits/iterator_concepts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/bits/iterator_concepts.h b/libstdc++-v3/include/bits/iterator_concepts.h index 6802582a459..e32e94dc9fc 100644 --- a/libstdc++-v3/include/bits/iterator_concepts.h +++ b/libstdc++-v3/include/bits/iterator_concepts.h @@ -798,7 +798,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// [projected], projected template _Proj> - using projected = __detail::__projected<_Iter, _Proj>::__type; + using projected = typename __detail::__projected<_Iter, _Proj>::__type; // [alg.req], common algorithm requirements