49 #define Z2_INVERT_STATIC_ASSERT_FOR_UNIT_TESTING
55 #define BEGIN_CHECK if( InputTraits<
56 #define END_CHECK >::name() == "unused string" ) \
57 { std::cout << "Unused - Just make sure it compiles." << std::endl; }
59 template<
class A,
class B,
class C >
64 int main(
int argc,
char *argv[])
109 typedef signed int user_int_t;
110 typedef unsigned int user_unsigned_int_t;
111 typedef float user_float_t;
112 typedef double user_double_t;
113 typedef uint32_t user_uint32_t;
114 typedef uint64_t user_uint64_t;
115 typedef signed long user_long_t;
116 typedef unsigned long user_unsigned_long_t;
117 typedef unsigned long long user_unsigned_long_long_t;
118 typedef size_t user_size_t;
168 std::cout <<
"Validated bad InputTraits - The test PASSED because it "
169 "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)