Namespaces
Variants

std::experimental::optional<T>:: operator bool

From cppreference.net
constexpr explicit operator bool ( ) const noexcept ;
(biblioteca fundamentals TS)

Comprueba si * this contiene un valor.

Parámetros

(ninguno)

Valor de retorno

true si * this contiene un valor, false si * this no contiene un valor.