]> code.delx.au - gnu-emacs-elpa/blob - packages/yasnippet/snippets/c++-mode/class
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / yasnippet / snippets / c++-mode / class
1 # name: class ... { ... }
2 # key: class
3 # --
4 class ${1:Name}
5 {
6 public:
7 ${1:$(yas-substr text "[^: ]*")}($2);
8 virtual ~${1:$(yas-substr text "[^: ]*")}();
9 };