#spatch --c++ // neither patch not source work yet @@ @@ - template struct ts { ... }; - template <> struct ts { - ... - }; - template <> struct ts::ns { ... }; - template <> int ts::h() { ... }; int main() { - ... }