# -*- mode: snippet -*- # name: class # key: cls # -- class ${1:Name} { public: ${1:$(yas-c++-class-name yas-text)}(); ${2:virtual ~${1:$(yas-c++-class-name yas-text)}();} }; $0