Shared naming conventions allow teams to collaborate efficiently. This rule checks that all coroutine names match a provided regular
expression.
Noncompliant code example
With default provided regular expression: ^[a-z][a-zA-Z0-9]*$
:
generator<int> Iota(int n = 0) {
while(true)
co_yield n++;
}
Compliant solution
generator<int> iota(int n = 0) {
while(true)
co_yield n++;
}