Source

python emacs / yasnippet-0.6.1c / snippets / text-mode / cc-mode / c++-mode / class

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