Skip to content

Instantly share code, notes, and snippets.

@kube
Last active January 7, 2016 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kube/a52d6bdd12e711fad820 to your computer and use it in GitHub Desktop.
Save kube/a52d6bdd12e711fad820 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
#ifndef ${1/(.*)/(?1\U$1:)/g}_HPP
#define ${1/(.*)/(?1\U$1:)/g}_HPP
class ${1}
{
public:
${1}();
${1}(const ${1}& rhs);
${1}& operator=(const ${1}& rhs);
~${1}();
};
#endif
]]></content>
<tabTrigger>canonicalClassDeclaration</tabTrigger>
<scope>source.c++</scope>
<description>Canonical Class Declaration</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment