Debian Codegraph @

cpptests/templates_partial_specialization.cocci

raw
1 #spatch --c++
2 // neither patch not source work yet
3 @@
4 @@
5
6 - template <class T> struct ts { ... };
7 - template <> struct ts<int> {
8 - ...
9 - };
10
11 - template <> struct ts<int>::ns<int> { ... };
12 - template <> int ts<int>::h<int>() { ... };
13
14 int main()
15 {
16 - ...
17 }