unix-conf/.emacs.d/snippets/c++-mode/cls
2016-02-18 14:53:30 +01:00

10 lines
187 B
Plaintext

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