mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Use better syntax for concept constraint
This commit is contained in:
@@ -17536,8 +17536,7 @@ Because that's the best we can do without direct concept support.
|
||||
}
|
||||
|
||||
// Equivalent to:
|
||||
template <Integral T>
|
||||
void f(T v)
|
||||
void f(Integral v)
|
||||
{
|
||||
// ...
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user