|
ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
#include <FunctionWrapper.h>
Public Member Functions | |
| FunctionWrapper ()=default | |
| FunctionWrapper (FunctionWrapper &&other)=default | |
| FunctionWrapper (const FunctionWrapper &other)=default | |
| FunctionWrapper & | operator= (const FunctionWrapper &other)=default |
| FunctionWrapper & | operator= (FunctionWrapper &&other)=default |
| template<typename T > | |
| FunctionWrapper (T &&myFunctionObject) | |
| template<class R , class... Args> | |
| auto | get () const |
Class that wraps a function.
|
default |
Default constructor.
|
default |
Move constructor.
| other |
|
default |
Copy constructor.
| other |
|
inline |
Constructor for use with a lambda or function pointer. Example syntax:
| T | The type of the lambda or function pointer. |
| myFunctionObject | The function object, can, e.g., be a lambda. |
|
inline |
Get the stored function object. Example syntax:
| R | The return type. |
| Args | The arguments. |
|
default |
Copy assignment operator.
| other |
|
default |
Move assignment operator.
| other |