From 3b952e73fad5b5d814d1bff57173c4ad3e9484d1 Mon Sep 17 00:00:00 2001 From: Aaron Broder Date: Tue, 28 Aug 2012 09:33:50 -0700 Subject: [PATCH] [cpp] Added access modifier snippets. --- snippets/cpp.snippets | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/snippets/cpp.snippets b/snippets/cpp.snippets index f6c19f5..09d9998 100644 --- a/snippets/cpp.snippets +++ b/snippets/cpp.snippets @@ -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;