Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::error_...operatorbool(3) C++ Standard Libarystd::error_...operatorbool(3)

NAME
       std::error_code::operatorbool - std::error_code::operatorbool

Synopsis
	  explicit operator bool() const noexcept;  (since C++11)

	  Checks if the	error value is valid, i.e. non-zero.

Parameters
	  (none)

Return value
	  false	if value() == 0, true otherwise.

http://cppreference.com		  2022.07.31	 std::error_...operatorbool(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::error_code::operatorbool&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help