Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // C++ standard includes
- #include <string>
- #include <vector>
- // 3rd party lib includes
- #include <boost/thread.hpp>
- // project dependencies
- #include "demo.hpp"
- namespace test
- {
- namespace subNamespace
- {
- size_t
- Example::getCount()
- {
- int anyVariableInFunctionScope;
- if ( a == b )
- return false;
- for ( int i = 0; i < 25; i += a )
- {
- anything();
- }
- int i = 0;
- while ( i < 25 )
- {
- anything();
- i += a;
- }
- int i = 0;
- do
- {
- anything();
- i += a;
- } while ( i < 25 );
- return b;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement