function Class
template<class Fty> class function // Fty of type Ret(T1, T2, ..., TN) : public unary_function<T1, Ret> // when Fty is Ret(T1) : public binary_function<T1, T2, Ret> // when Fty is Ret(T1, T2) { public: typedef Ret result_type; function(); function(nullptr_t); function(const function& _Right); template<class Fty2> function(Fty2 fn); template<class Fty2, class Alloc> function (reference_wrapper<Fty2>, const Alloc& _Ax); template<class Fty2, class Alloc> void assign (Fty2, const Alloc& _Ax); template<class Fty2, class Alloc> assign (reference_wrapper<Fty2>, const Alloc& _Ax);
function& operator=(nullptr_t); function& operator=(const function&); template<class Fty2> function& operator=(Fty2); template<class Fty2> function& operator=(reference_wrapper<Fty2>); void swap(function&); explicit operator bool() const; result_type operator()(T1, T2, ....., TN) const; const std::type_info& target_type() const; template<class Fty2> Fty2 *target(); template<class Fty2> const Fty2 *target() const;
template<class Fty2> void operator==(const Fty2&) const = delete; template<class Fty2> void operator!=(const Fty2&) const = delete; };
Konstruktoren
|
|
Typedefs
|
|
Memberfunktionen
|
|
|
|
|
|
|
|
|
|
|
Operatoren
|
|
|
|
|
|
|
|