/home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:65:68: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: invalid conversion from 'const X*' to 'X*' [-fpermissive] /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct detail::is_callable_impl': /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: required from 'struct is_callable' /home/zao/Downloads/ideone_RzgXKM.cpp:65:68: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:46:9: error: invalid conversion from 'const X*' to 'X*' [-fpermissive] /home/zao/Downloads/ideone_RzgXKM.cpp:46:9: error: invalid conversion from 'const X*' to 'X*' [-fpermissive] /home/zao/Downloads/ideone_RzgXKM.cpp: In function 'int main()': /home/zao/Downloads/ideone_RzgXKM.cpp:65:5: error: static assertion failed: /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:67:68: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: invalid conversion from 'const X*' to 'X*' [-fpermissive] /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct detail::is_callable_impl': /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: required from 'struct is_callable' /home/zao/Downloads/ideone_RzgXKM.cpp:67:68: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:46:9: error: invalid conversion from 'const X*' to 'X*' [-fpermissive] /home/zao/Downloads/ideone_RzgXKM.cpp:46:9: error: invalid conversion from 'const X*' to 'X*' [-fpermissive] /home/zao/Downloads/ideone_RzgXKM.cpp:67:5: error: static assertion failed: /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:80:48: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:81:48: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:82:55: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:83:50: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:84:56: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:86:53: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:87:54: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:88:60: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:89:55: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:90:61: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:92:48: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:93:50: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:94:56: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:95:50: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:96:57: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:98:54: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:99:56: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:100:62: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:101:56: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp: In instantiation of 'struct is_callable': /home/zao/Downloads/ideone_RzgXKM.cpp:102:62: required from here /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)' /home/zao/Downloads/ideone_RzgXKM.cpp:50:12: error: 'std::declval()' cannot be used as a member pointer, since it is of type 'void(const int&&)'