[cpp] Added access modifier snippets.
This commit is contained in:
parent
32eef65402
commit
3b952e73fa
@ -47,6 +47,23 @@ snippet queue
|
|||||||
# std::priority_queue
|
# std::priority_queue
|
||||||
snippet pqueue
|
snippet pqueue
|
||||||
std::priority_queue<${1:T}> ${2};${3}
|
std::priority_queue<${1:T}> ${2};${3}
|
||||||
|
##
|
||||||
|
## Access Modifiers
|
||||||
|
# private
|
||||||
|
snippet pr
|
||||||
|
private
|
||||||
|
# protected
|
||||||
|
snippet po
|
||||||
|
protected
|
||||||
|
# public
|
||||||
|
snippet pu
|
||||||
|
public
|
||||||
|
# friend
|
||||||
|
snippet fr
|
||||||
|
friend
|
||||||
|
# mutable
|
||||||
|
snippet mu
|
||||||
|
mutable
|
||||||
# std::cout
|
# std::cout
|
||||||
snippet cout
|
snippet cout
|
||||||
std::cout << ${1} << std::endl;
|
std::cout << ${1} << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user