X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/7800f772a22ca58e1be9735c2c4a7d4fd322e071..9f7042a1d0c278c0f0d8d26dc506a961f3f53e29:/vim/ultisnips/cpp.snippets diff --git a/vim/ultisnips/cpp.snippets b/vim/ultisnips/cpp.snippets index 4213966..1d44b8c 100644 --- a/vim/ultisnips/cpp.snippets +++ b/vim/ultisnips/cpp.snippets @@ -2,7 +2,7 @@ priority 1 # disable horrible one word snippets -clearsnippets pri pro pub fr mu t +clearsnippets pri pro pub fr mu t pr clearsnippets set @@ -30,9 +30,9 @@ snippet rule5 "Default constructors/destructors/operaters" b ${1:classname}() = default; ~$1() = default; $1($1 const &) = default; -$1($1 &&) = default; +$1($1 &&) noexcept = default; $1 &operator=($1 const &) = default; -$1 &operator=($1 &&) = default; +$1 &operator=($1 &&) noexcept = default; endsnippet snippet ns "namespace .. (namespace)"