add lisp packages
This commit is contained in:
9
lisp/yasnippet-snippets/snippets/c++-mode/upr
Normal file
9
lisp/yasnippet-snippets/snippets/c++-mode/upr
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: transform
|
||||
# key: upr
|
||||
# --
|
||||
std::transform(std::begin(${1:container}), std::end($1), std::begin($1), [](char c) {
|
||||
return std::toupper(c);
|
||||
});
|
||||
$2
|
||||
$0
|
||||
Reference in New Issue
Block a user