View difference between Paste ID: MFUWm5Hf and mQSqAnvX
SHOW: | | - or go back to the newest paste.
1
// C++ standard includes
2
#include <string>
3
#include <vector>
4
5
// 3rd party lib includes
6
#include <boost/thread.hpp>
7
8
// project dependencies
9-
#include "anything.hpp"
9+
#include "demo.hpp"
10
11
namespace test
12
{
13
	namespace subNamespace
14
	{
15
16-
	enum MyEnum
16+
	size_t 
17
	Example::getCount()
18-
		E_ONE,
18+
19-
		E_TWO,
19+
		int anyVariableInFunctionScope;
20-
		E_THREE
20+
21
		if ( a == b )
22
			return false;
23-
	class Example : public MyAwesomeBaseClass
23+
			
24
		for ( int i = 0; i < 25; i += a )
25-
	private:
25+
		{
26-
		int m_myNumber;
26+
			anything();
27-
		Example *m_next;
27+
		}
28
		
29-
		void m_reset();
29+
		int i = 0;
30-
		bool m_test(Demo *myObj, int crit);
30+
		while ( i < 25 )
31
		{
32-
	protected:
32+
			anything();
33-
		string s_testShared;
33+
34
			i += a;
35-
		bool s_sharedFunction();
35+
		}
36
		
37-
	public:
37+
		int i = 0;
38-
		Demo();
38+
		do
39-
		~Demo();
39+
		{
40
			anything();
41-
		void setMyNumber(int newValue) throw();
41+
			
42-
		size_t getCount();
42+
			i += a;
43
		} while ( i < 25 );
44-
		static int getId();
44+
45
		return b;
46
	}
47
48
	}
49
}