diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-04 02:19:19 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-04 02:19:19 +0100 |
commit | ccac5d47bec254a902f8c467c21bba53f41c47b1 (patch) | |
tree | 9cd8ea3f9da7e030b14e8db98a69318b2bb44aa3 /snippets/c++-mode/noncopyable.yasnippet | |
parent | dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81 (diff) | |
download | emacs-ccac5d47bec254a902f8c467c21bba53f41c47b1.tar.gz emacs-ccac5d47bec254a902f8c467c21bba53f41c47b1.tar.xz emacs-ccac5d47bec254a902f8c467c21bba53f41c47b1.zip |
More personal snippets
Diffstat (limited to 'snippets/c++-mode/noncopyable.yasnippet')
-rw-r--r-- | snippets/c++-mode/noncopyable.yasnippet | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/c++-mode/noncopyable.yasnippet b/snippets/c++-mode/noncopyable.yasnippet new file mode 100644 index 0000000..5a77377 --- /dev/null +++ b/snippets/c++-mode/noncopyable.yasnippet @@ -0,0 +1,8 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: noncopyable +# key: noncopyable +# binding: direct-keybinding +# -- +/* no copies */ +$1(const $1&) = delete; +$1& operator=(const $1&) = delete;
\ No newline at end of file |