emacs-prelude/vendor/yasnippet/snippets/c++-mode/class
2012-02-17 22:12:32 +02:00

9 lines
No EOL
163 B
Text

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