my-emacs-d/elpa/yasnippet-20160924.2001/snippets/c++-mode/class
2016-10-20 10:27:10 +02:00

11 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