Namespaces
Variants
Views
Actions

std::function::~function

From cppreference.com
< cpp‎ | utility‎ | functional‎ | function
Revision as of 18:34, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
Function objects
Function wrappers
(C++11)
(C++11)
Bind
(C++11)
Reference wrappers
(C++11)(C++11)
Operator wrappers
Negators
Deprecated binders and adaptors
(deprecated)
(deprecated)
(deprecated)
(deprecated)
(deprecated)(deprecated)(deprecated)(deprecated)
(deprecated)
(deprecated)(deprecated)(deprecated)(deprecated)
(deprecated)(deprecated)
(deprecated)(deprecated)
 
 
~function();
(since C++11)

Destroys the std::function instance. If the stored callable is valid, it is destroyed also.

[edit] Exceptions

noexcept specification:  
noexcept