A general-purpose polymorphic function wrapper. More...
Public Member Functions | |
template<typename Function > | |
function (Function f) | |
function (function const &)=default | |
function (function &&)=default | |
function & | operator= (function const &)=default |
function & | operator= (function &&)=default |
Friends | |
class | typer_traits< function< Signature > > |
A general-purpose polymorphic function wrapper.
Signature | Stored callable signature. |
stapl::function is similar to std::function
, as it can store and call any target. In addition, it has the necessary functions to allow packing/unpacking.