Debian Codegraph @

examples/specific/cpp_ns_template_specialization.h

raw symbols SCIP
1 namespace ns1 {
2 struct Foo {
3 int value;
4 };
5 } // namespace ns1
6
7 namespace ns2 {
8 template <class U> struct Trait {
9 static constexpr bool valid = false;
10 };
11
12 template <> struct Trait<ns1::Foo> {
13 static constexpr bool valid = true;
14 };
15 } // namespace ns2