Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 459 Bytes

CODESTYLE.md

File metadata and controls

33 lines (28 loc) · 459 Bytes

Code Style

namespace SomeNamespace
{
	class SomeClass
	{
	public:
		int someVariable;
		static int SomeStaticVariable;

		void someMethod()
		{
			// [...]
		}

		static void SomeStaticFunction()
		{
			// [...]
		}
	};
}

void Main(int argument)
{
	SomeNamespace::SomeClass someObject;
	someObject.someVariable = 0;
	someObject.someMethod();

	SomeNamespace::SomeClass::SomeStaticVariable = 0;
	SomeNamespace::SomeClass::SomeStaticFunction();
}