unix-conf/.emacs.d/snippets/c++-mode/sct

9 lines
181 B
Plaintext
Raw Normal View History

2016-02-18 13:53:30 +00:00
# -*- mode: snippet -*-
# name: struct
# key: sct
# --
struct ${1:Name} {
${1:$(yas/substr yas-text "[^: ]*")}();
${2:virtual ~${1:$(yas/substr yas-text "[^: ]*")}();}
};
$0