emacs-prelude/vendor/yasnippet/snippets/c++-mode/class

9 lines
163 B
Text
Raw Normal View History

2012-02-17 22:12:32 +02:00
# name: class ... { ... }
# key: class
# --
class ${1:Name}
{
public:
${1:$(yas/substr text "[^: ]*")}($2);
virtual ~${1:$(yas/substr text "[^: ]*")}();
};