Closed
Description
Affected rules
A2-10-1
Description
Variable templates can cause name duplication across scopes. The simplest option would be to exclude variable templates all together from this rule.
In addition, the example shows two variable templates in the same scope - is that something we actually report? The rule should only report issues from inner/outer scope pairs.
Example
template <typename Foo>
constexpr bool foo = false;
template <T>
constexpr bool foo<T> = true;