Namensräume
Varianten

std::function::operator bool

Aus cppreference.com
< cpp‎ | utility‎ | functional‎ | function

 
 
 
 
 
explicit operator bool()const;
(seit C++11)
Überprüft, ob *this eine aufrufbare Funktion Target Stores, dh nicht leer .
Original:
Checks whether *this stores a callable function target, i.e. is not empty.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten]Parameter

(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten]Rückgabewert

true wenn *this speichert eine aufrufbare Funktion Ziel false sonst .
Original:
true if *this stores a callable function target, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten]Ausnahmen

noexcept specification:  
noexcept
  (seit C++11)
close