summaryrefslogblamecommitdiffstats
path: root/snippets/c++-mode/noncopyable.yasnippet
blob: 5a773773da854afacbc60decbe73a54c35ea06f3 (plain) (tree)
1
2
3
4
5
6
7
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;