mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 05:54:29 +02:00
Remove a set of extra parenthesis in getting a member function pointer that were not needed and did not compile on clang.
[SVN r77065]
This commit is contained in:
@@ -29,7 +29,8 @@ namespace boost { namespace overloaded_function_detail {
|
|||||||
// It does not assume F typedef result_type, arg1_type, ... but needs typeof.
|
// It does not assume F typedef result_type, arg1_type, ... but needs typeof.
|
||||||
template<typename F>
|
template<typename F>
|
||||||
class functor_type {
|
class functor_type {
|
||||||
typedef BOOST_TYPEOF_TPL(&(F::operator())) call_ptr;
|
// NOTE: clang does not accept extra parenthesis `&(...)`.
|
||||||
|
typedef BOOST_TYPEOF_TPL(&F::operator()) call_ptr;
|
||||||
public:
|
public:
|
||||||
typedef
|
typedef
|
||||||
typename boost::function_types::function_type<
|
typename boost::function_types::function_type<
|
||||||
|
Reference in New Issue
Block a user