1. Fuco
  2. .emacs.d

Source

.emacs.d / vendor / yasnippet / snippets / c++-mode / class

1
2
3
4
5
6
7
8
9
# name: class ... { ... }
# key: class
# --
class ${1:Name}
{
public:
    ${1:$(yas-substr text "[^: ]*")}($2);
    virtual ~${1:$(yas-substr text "[^: ]*")}();
};