aboutsummaryrefslogtreecommitdiff
path: root/my_snippets/cpp.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'my_snippets/cpp.snippets')
-rw-r--r--my_snippets/cpp.snippets36
1 files changed, 36 insertions, 0 deletions
diff --git a/my_snippets/cpp.snippets b/my_snippets/cpp.snippets
index 7aac51e..004bcd1 100644
--- a/my_snippets/cpp.snippets
+++ b/my_snippets/cpp.snippets
@@ -66,3 +66,39 @@ vector<int> genRandom(int low, int high, int len){
return arr;
}
endsnippet
+
+snippet incset "Use set" b
+#include <set>
+
+using std::set;
+endsnippet
+
+snippet incmap "Use map" b
+#include <map>
+
+using std::map;
+endsnippet
+
+snippet incqueue "Use queue" b
+#include <queue>
+
+using std::queue;
+endsnippet
+
+snippet incstr "Use string" b
+#include <string>
+
+using std::string;
+endsnippet
+
+snippet incvec "Use vector" b
+#include <vector>
+
+using std::vector;
+endsnippet
+
+snippet incstack "Use stack" b
+#include <stack>
+
+using std::stack;
+endsnippet