summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-03-08 13:59:11 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-03-08 13:59:11 +0100
commit8da18293d8f13c9d65a45c86915ef9f5b828ad34 (patch)
tree355522460c86b1fefec91ef66073621c33b4ebe2 /tests
parent8ee64406e1fc0c5123720fc5c5e4d0ae2cabfdc4 (diff)
downloadsigc++-8da18293d8f13c9d65a45c86915ef9f5b828ad34.tar.gz
Put member_method*<> in sigc::internal namespace.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_member_method_trait.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/test_member_method_trait.cc b/tests/test_member_method_trait.cc
index 79a87d1..aa481b3 100644
--- a/tests/test_member_method_trait.cc
+++ b/tests/test_member_method_trait.cc
@@ -25,38 +25,38 @@ public:
void test_member_method_is_const()
{
- static_assert(!sigc::member_method_is_const<decltype(&Something::some_func)>::value,
+ static_assert(!sigc::internal::member_method_is_const<decltype(&Something::some_func)>::value,
"member_method_is_const failed to identify a non-const member method.");
- static_assert(!sigc::member_method_is_const<decltype(&Something::some_volatile_func)>::value,
+ static_assert(!sigc::internal::member_method_is_const<decltype(&Something::some_volatile_func)>::value,
"member_method_is_const failed to identify a non-const member method.");
- static_assert(sigc::member_method_is_const<decltype(&Something::some_const_func)>::value,
+ static_assert(sigc::internal::member_method_is_const<decltype(&Something::some_const_func)>::value,
"member_method_is_const failed to identify a const member method.");
- static_assert(sigc::member_method_is_const<decltype(&Something::some_const_volatile_func)>::value,
+ static_assert(sigc::internal::member_method_is_const<decltype(&Something::some_const_volatile_func)>::value,
"member_method_is_const failed to identify a const member method.");
}
void test_member_method_is_volatile()
{
- static_assert(!sigc::member_method_is_volatile<decltype(&Something::some_func)>::value,
+ static_assert(!sigc::internal::member_method_is_volatile<decltype(&Something::some_func)>::value,
"member_method_is_const failed to identify a non-volatile member method.");
- static_assert(!sigc::member_method_is_volatile<decltype(&Something::some_const_func)>::value,
+ static_assert(!sigc::internal::member_method_is_volatile<decltype(&Something::some_const_func)>::value,
"member_method_is_const failed to identify a non-volatile member method.");
- static_assert(sigc::member_method_is_volatile<decltype(&Something::some_volatile_func)>::value,
+ static_assert(sigc::internal::member_method_is_volatile<decltype(&Something::some_volatile_func)>::value,
"member_method_is_const failed to identify a volatile member method.");
- static_assert(sigc::member_method_is_volatile<decltype(&Something::some_const_volatile_func)>::value,
+ static_assert(sigc::internal::member_method_is_volatile<decltype(&Something::some_const_volatile_func)>::value,
"member_method_is_const failed to identify a volatile member method.");
}
void test_member_method_class_type()
{
static_assert(std::is_same<
- sigc::member_method_class<decltype(&Something::some_func)>::type,
+ sigc::internal::member_method_class<decltype(&Something::some_func)>::type,
Something>::value,
"member_method_class_type failed to identify the class type.");
}
@@ -64,12 +64,12 @@ void test_member_method_class_type()
void test_member_method_result_type()
{
static_assert(std::is_same<
- sigc::member_method_result<decltype(&Something::some_int_func)>::type,
+ sigc::internal::member_method_result<decltype(&Something::some_int_func)>::type,
int>::value,
"member_method_result_type failed to identify the result type.");
static_assert(std::is_same<
- sigc::member_method_result<decltype(&Something::some_bool_func)>::type,
+ sigc::internal::member_method_result<decltype(&Something::some_bool_func)>::type,
bool>::value,
"member_method_result_type failed to identify the result type.");
}