my-emacs-d/elpa/yasnippet-20161022.646/snippets/c++-mode/class

11 lines
187 B
Plaintext
Raw Normal View History

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