forked from Return-To-The-Roots/s25client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpp.hint
18 lines (17 loc) · 1.07 KB
/
cpp.hint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#define BOOST_FOREACH(var, col) for(var;;)
#define BOOST_REVERSE_FOREACH(var, col) for(var;;)
#define BOOST_AUTO_TEST_CASE(name) class name: public BOOST_AUTO_TEST_CASE_FIXTURE{ void testMethod(); }; void name::testMethod()
#define BOOST_FIXTURE_TEST_CASE(name, fixture) class name: public fixture, public BOOST_AUTO_TEST_CASE_FIXTURE{ void testMethod(); }; void name::testMethod()
#define BOOST_AUTO_TEST_SUITE(name) namespace name{
#define BOOST_FIXTURE_TEST_SUITE(name, fixture) namespace name{ typedef F BOOST_AUTO_TEST_CASE_FIXTURE;
#define BOOST_AUTO_TEST_SUITE_END() }
#define BOOST_REQUIRE(cond) if(!(cond)) assert(false)
#define BOOST_REQUIRE_EQUAL(x,y) BOOST_REQUIRE((x) == (y))
#define BOOST_REQUIRE_LT(x,y) BOOST_REQUIRE((x) < (y))
#define BOOST_REQUIRE_GT(x,y) BOOST_REQUIRE((x) > (y))
#define BOOST_SCOPED_ENUM_DECLARE_BEGIN(name) enum name
#define BOOST_SCOPED_ENUM_UT_DECLARE_BEGIN(name, type) enum name
#define BOOST_SCOPED_ENUM_DECLARE_END(name) ;
#define RTTR_FOREACH_PT(PtType, width, height) for(PtType pt;;)
#define SUPPRESS_UNUSED
#define RTTR_Assert(cond) assert(cond)