.emacs.d/snippets/c++-mode/cls

10 lines
187 B
Plaintext
Raw Permalink Normal View History

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