summaryrefslogblamecommitdiffstats
path: root/emacs.d/snippets/text-mode/cc-mode/c++-mode/class
blob: 820fc6cdce706df4756d773c623428c5e3aa33c1 (plain) (tree)
1
2
3
4
5
6
7
8







                                                
#name : class ... { ... }
# --
class ${1:Name}
{
public:
    ${1:$(yas/substr text "[^: ]*")}($2);
    virtual ~${1:$(yas/substr text "[^: ]*")}();
};