projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda43e1
)
libstdc++: Fix one more malformed requires-clause [PR107649]
author
Jonathan Wakely
<jwakely@redhat.com>
Fri, 18 Nov 2022 21:17:51 +0000
(21:17 +0000)
committer
Jonathan Wakely
<jwakely@redhat.com>
Sat, 19 Nov 2022 15:05:28 +0000
(15:05 +0000)
libstdc++-v3/ChangeLog:
PR libstdc++/107649
* include/std/complex (__complex_proj): Fix requires-clause.
libstdc++-v3/include/std/complex
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/std/complex
b/libstdc++-v3/include/std/complex
index
86d5ca3
..
912adb7
100644
(file)
--- a/
libstdc++-v3/include/std/complex
+++ b/
libstdc++-v3/include/std/complex
@@
-2528,7
+2528,7
@@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
#endif
template<typename _Tp>
- requires
(__complex_type<_Tp>::type)
+ requires
requires { typename __complex_type<_Tp>::type; }
inline complex<_Tp>
__complex_proj(const complex<_Tp>& __z)
{ return __complex_proj(__z.__rep()); }