MADNESS
0.10.1
|
Defines tools for encapsulating a pointer to a member function. More...
#include <madness/world/madness_exception.h>
Go to the source code of this file.
Classes | |
struct | madness::detail::DefaultInitPtr< T > |
Default pointer to a. object of type T . More... | |
struct | madness::detail::DefaultInitPtr< std::shared_ptr< T > > |
Default shared pointer to an object of type T . More... | |
class | madness::detail::MemFuncWrapper< ptrT, memfnT, resT > |
Functor wrapper for object and member function pointers. More... | |
class | madness::detail::MemFuncWrapper< ptrT, memfnT, void > |
Functor wrapper for object and member function pointers. More... | |
Namespaces | |
madness | |
File holds all helper structures necessary for the CC_Operator and CC2 class. | |
madness::detail | |
Functions | |
template<typename ptrT , typename memfnT , typename resT > | |
memfnT | madness::detail::get_mem_func_ptr (const MemFuncWrapper< ptrT, memfnT, resT > &wrapper) |
Returns the member function pointer from a wrapper. More... | |
template<typename objT , typename memfnT > | |
MemFuncWrapper< const objT *, memfnT, typename result_of< memfnT >::type > | madness::detail::wrap_mem_fn (const objT &obj, memfnT memfn) |
Create a member function wrapper (MemFuncWrapper ) from a const object and a member function pointer. More... | |
template<typename objT , typename memfnT > | |
MemFuncWrapper< const objT *, memfnT, typename result_of< memfnT >::type > | madness::detail::wrap_mem_fn (const objT *obj, memfnT memfn) |
Create a member function wrapper (MemFuncWrapper ) from a const pointer and a member function pointer. More... | |
template<typename objT , typename memfnT > | |
MemFuncWrapper< std::shared_ptr< objT >, memfnT, typename result_of< memfnT >::type > | madness::detail::wrap_mem_fn (const std::shared_ptr< objT > &obj, memfnT memfn) |
Create a member function wrapper (MemFuncWrapper ) from a const shared pointer and a member function pointer. More... | |
template<typename objT , typename memfnT > | |
MemFuncWrapper< objT *, memfnT, typename result_of< memfnT >::type > | madness::detail::wrap_mem_fn (objT &obj, memfnT memfn) |
Create a member function wrapper (MemFuncWrapper ) from an object and a member function pointer. More... | |
template<typename objT , typename memfnT > | |
MemFuncWrapper< objT *, memfnT, typename result_of< memfnT >::type > | madness::detail::wrap_mem_fn (objT *obj, memfnT memfn) |
Create a member function wrapper (MemFuncWrapper ) from a pointer and a member function pointer. More... | |
template<typename objT , typename memfnT > | |
MemFuncWrapper< std::shared_ptr< objT >, memfnT, typename result_of< memfnT >::type > | madness::detail::wrap_mem_fn (std::shared_ptr< objT > &obj, memfnT memfn) |
Create a member function wrapper (MemFuncWrapper ) from a shared pointer and a member function pointer. More... | |
Defines tools for encapsulating a pointer to a member function.
The member pointer is stored, along with a pointer to the object with which it should be dereferenced.