mirror of
https://github.com/boostorg/compat.git
synced 2026-01-19 04:02:16 +00:00
Merge pull request #9 from ashtum/resolve-mem_fn_ambiguity
Qualify call to `mem_fn`
This commit is contained in:
@@ -23,7 +23,7 @@ BOOST_COMPAT_RETURNS( std::forward<F>(f)(std::forward<A>(a)...) )
|
||||
|
||||
template<class M, class T, class... A>
|
||||
constexpr auto invoke( M T::* pm, A&&... a )
|
||||
BOOST_COMPAT_RETURNS( mem_fn(pm)(std::forward<A>(a)...) )
|
||||
BOOST_COMPAT_RETURNS( compat::mem_fn(pm)(std::forward<A>(a)...) )
|
||||
|
||||
// invoke_result_t
|
||||
|
||||
|
||||
Reference in New Issue
Block a user