diff --git a/test/is_function_test.cpp b/test/is_function_test.cpp index 80899db..3405ba8 100644 --- a/test/is_function_test.cpp +++ b/test/is_function_test.cpp @@ -88,12 +88,48 @@ typedef void __stdcall sfoo2_t(int&, double); typedef void __stdcall sfoo3_t(int&, bool, int, int); typedef void __stdcall sfoo4_t(int, bool, int*, int[], int, int, int, int, int); +typedef void __cdecl cfoo0_t(); +typedef void __cdecl cfoo1_t(int); +typedef void __cdecl cfoo2_t(int&, double); +typedef void __cdecl cfoo3_t(int&, bool, int, int); +typedef void __cdecl cfoo4_t(int, bool, int*, int[], int, int, int, int, int); + +typedef void __fastcall ffoo0_t(); +typedef void __fastcall ffoo1_t(int); +typedef void __fastcall ffoo2_t(int&, double); +typedef void __fastcall ffoo3_t(int&, bool, int, int); +typedef void __fastcall ffoo4_t(int, bool, int*, int[], int, int, int, int, int); + +typedef void __vectorcall vfoo0_t(); +typedef void __vectorcall vfoo1_t(int); +typedef void __vectorcall vfoo2_t(int&, double); +typedef void __vectorcall vfoo3_t(int&, bool, int, int); +typedef void __vectorcall vfoo4_t(int, bool, int*, int[], int, int, int, int, int); + BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); + +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); + +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); + #endif #ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION diff --git a/test/is_member_func_test.cpp b/test/is_member_func_test.cpp index 94b040a..4b4ea5a 100644 --- a/test/is_member_func_test.cpp +++ b/test/is_member_func_test.cpp @@ -67,12 +67,18 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::va BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::value, false); #ifdef BOOST_TT_TEST_MS_FUNC_SIGS + typedef void (__stdcall test_abc1::*scall_proc)(); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::value, true); typedef void (__fastcall test_abc1::*fcall_proc)(int); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::value, true); typedef void (__cdecl test_abc1::*ccall_proc)(int, long, double); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::value, true); +typedef void(__vectorcall test_abc1::*vcall_proc)(int, long, double, double, double, double); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::value, true); +typedef void(__thiscall test_abc1::*tcall_proc)(int, long, double, double, double, double); +BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::value, true); + #endif #ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION