forked from boostorg/core
Fix type_name<> for cv-qualified member pointers without variadic templates. Refs #145.
This commit is contained in:
@@ -239,9 +239,18 @@ int main()
|
||||
TEST(B(&)[1][2][3]);
|
||||
TEST(B const volatile(***)[1][2][3]);
|
||||
|
||||
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || !defined(BOOST_MSVC)
|
||||
|
||||
TEST(int A::*);
|
||||
TEST(int const B::*);
|
||||
|
||||
#else
|
||||
|
||||
boost::core::type_name<int A::*>();
|
||||
boost::core::type_name<int const B::*>();
|
||||
|
||||
#endif
|
||||
|
||||
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
|
||||
|
||||
TEST(void(A::*)());
|
||||
|
||||
Reference in New Issue
Block a user