mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
T.25: Fix number in exponential sequence. (#1526)
Otherwise rather suggests a quadratic growth.
This commit is contained in:
@@ -17184,7 +17184,7 @@ Complementary constraints are unfortunately common in `enable_if` code:
|
|||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
Complementary requirements on one requirements is sometimes (wrongly) considered manageable.
|
Complementary requirements on one requirements is sometimes (wrongly) considered manageable.
|
||||||
However, for two or more requirements the number of definitions needs can go up exponentially (2,4,9,16,...):
|
However, for two or more requirements the number of definitions needs can go up exponentially (2,4,8,16,...):
|
||||||
|
|
||||||
C1<T> && C2<T>
|
C1<T> && C2<T>
|
||||||
!C1<T> && C2<T>
|
!C1<T> && C2<T>
|
||||||
|
|||||||
Reference in New Issue
Block a user