Revision dfa5401af6d9cd5ba21b68d532d84bdd23517ea4 authored by Brad King on 14 June 2022, 18:20:32 UTC, committed by Brad King on 14 June 2022, 18:21:01 UTC
1 parent 3b4bd01
cxx_inline_namespaces.cpp
namespace Lib {
inline namespace Lib_1 {
template <typename T>
class A;
}
template <typename T>
void g(T);
}
struct MyClass
{
};
namespace Lib {
template <>
class A<MyClass>
{
};
}
void someFunc()
{
Lib::A<MyClass> a;
g(a); // ok, Lib is an associated namespace of A
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...