14 #define Z2_INVERT_STATIC_ASSERT_FOR_UNIT_TESTING
20 #define BEGIN_CHECK if( InputTraits<
21 #define END_CHECK >::name() == "unused string" ) \
22 { std::cout << "Unused - Just make sure it compiles." << std::endl; }
24 template<
class A,
class B,
class C >
29 int main(
int argc,
char *argv[])
74 typedef signed int user_int_t;
75 typedef unsigned int user_unsigned_int_t;
76 typedef float user_float_t;
77 typedef double user_double_t;
78 typedef uint32_t user_uint32_t;
79 typedef uint64_t user_uint64_t;
80 typedef signed long user_long_t;
81 typedef unsigned long user_unsigned_long_t;
82 typedef unsigned long long user_unsigned_long_long_t;
83 typedef size_t user_size_t;
133 std::cout <<
"Validated bad InputTraits - The test PASSED because it "
134 "compiled with the static_assert checks inverted." << std::endl;
A simple class that can be the User template argument for an InputAdapter.
int main(int narg, char **arg)