C++ Library Extensions 2022.12.09
To help learn modern C++ programming
10-mem_fn.cpp File Reference
#include <tpf_output.hpp>
Include dependency graph for 10-mem_fn.cpp:

Go to the source code of this file.

Classes

class  mem_func_call_wrapper< ReturnType, ClassType, Types >
 
class  DummyClass< ElementType >
 

Functions

template<typename ReturnType , typename ClassType , typename... Types>
mem_func_call_wrapper< ReturnType, ClassType, Types... > mem_fn (ReturnType(ClassType::*mptr)(Types...))
 
void test_mem_fn ()
 
int main ()
 

Variables

tpf::sstream stream
 
auto endl = tpf::endl
 

Function Documentation

◆ main()

int main ( )

Definition at line 64 of file 10-mem_fn.cpp.

Here is the call graph for this function:

◆ mem_fn()

template<typename ReturnType , typename ClassType , typename... Types>
mem_func_call_wrapper< ReturnType, ClassType, Types... > mem_fn ( ReturnType(ClassType::*)(Types...)  mptr)

Definition at line 23 of file 10-mem_fn.cpp.

Here is the caller graph for this function:

◆ test_mem_fn()

void test_mem_fn ( )

Definition at line 47 of file 10-mem_fn.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 4 of file 10-mem_fn.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 10-mem_fn.cpp.