mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
More cpp snippets
This commit is contained in:
parent
8753d5c555
commit
b9801dd0bc
@ -66,3 +66,39 @@ vector<int> genRandom(int low, int high, int len){
|
|||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
endsnippet
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user