[cpp] Added access modifier snippets.

This commit is contained in:
Aaron Broder 2012-08-28 09:33:50 -07:00
parent 32eef65402
commit 3b952e73fa

View File

@ -47,6 +47,23 @@ snippet queue
# std::priority_queue
snippet pqueue
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
snippet cout
std::cout << ${1} << std::endl;