You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template <typename T> is missing for struct foo<T>::bar{};. This can cause problems when the template parameter name T hides some global name, which makes struct foo<T>::bar {}; a specialization.
The text was updated successfully, but these errors were encountered:
Foxing this appeared problematic initially because when transforming the out-of-line definition of bar, only foo is the class template. However, I found a way.
Cppinsights gives the following output:
template <typename T>
is missing forstruct foo<T>::bar{};
. This can cause problems when the template parameter nameT
hides some global name, which makesstruct foo<T>::bar {};
a specialization.The text was updated successfully, but these errors were encountered: