#include <algorithm>
#include <cassert>
#include <cstddef>
#include <memory>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
template<typename T , typename Allocator = std::allocator<void>> |
using | delegate = Delegate< T, Allocator > |
| make template alias due to similarity with std::function More...
|
|
|
template<class C , typename R , typename... A> |
Delegate< R(A...)> | make_delegate (C *const object_ptr, R(C::*const method_ptr)(A...)) noexcept |
| constructor for wrapping a class::method with object pointer. More...
|
|
template<class C , typename R , typename... A> |
Delegate< R(A...)> | make_delegate (C &object_ptr, R(C::*const method_ptr)(A...)) noexcept |
| constructor for wrapping a class::method with object reference. More...
|
|
template<class C , typename R , typename... A> |
Delegate< R(A...)> | make_delegate (C const &object_ptr, R(C::*const method_ptr)(A...) const) noexcept |
| constructor for wrapping a const class::method with object reference. More...
|
|