Skip to content

Fix duplicate c++ mode snippets #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions c++-mode/const_[]

This file was deleted.

2 changes: 1 addition & 1 deletion c++-mode/copy_ostream_iter
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: copy
# name: copy_ostream_iter
# key: oit
# --
std::copy(std::begin(${1:container}), std::end($1), std::ostream_iterator<$2>{
Expand Down
6 changes: 0 additions & 6 deletions c++-mode/d_operator

This file was deleted.

2 changes: 1 addition & 1 deletion c++-mode/erase
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: remove
# name: erase
# key: erm
# --
${1:container}.erase(std::remove(std::begin($1), std::end($1), $2), std::end($1));
2 changes: 1 addition & 1 deletion c++-mode/erase_find_last_not_of
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: generate_n
# name: erase_find_last_not_of
# key: erf
# --
${1:container}.erase($1.find_last_not_of(" \t\n\r") + 1);
11 changes: 0 additions & 11 deletions c++-mode/operator_ostream

This file was deleted.

2 changes: 1 addition & 1 deletion c++-mode/transform-with-closure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: transform
# name: transform-with-closure
# key: upr
# --
std::transform(std::begin(${1:container}), std::end($1), std::begin($1), [](char c) {
Expand Down