home | help
std::experi...operatorbool(3)  C++ Standard Libary std::experi...operatorbool(3)

NAME
     std::experimental::optional::operatorbool	    -	  std::experimental::op-
     tional::operatorbool

Synopsis
	constexpr explicit operator bool() const noexcept;   (library  fundamen-
     tals TS)

	Checks whether *this contains a value.

Parameters
	(none)

Return value
	true if *this contains a value, false if *this does not contain a value.

Category:
	  * Noindexed pages

http://cppreference.com 	   2024.06.10	   std::experi...operatorbool(3)

home | help