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

FreeBSD Manual Pages

  
 
  

home | help
std::match_results::empty(3)  C++ Standard Libary std::match_results::empty(3)

NAME
       std::match_results::empty - std::match_results::empty

Synopsis
	  bool empty() const;		     (since C++11)
					     (until C++20)
	  [[nodiscard]]	bool empty() const;  (since C++20)

	  Checks whether the match was successful.

Parameters
	  (none)

Return value
	  true	if *this represents the	result of a failed match, false	other-
       wise, i.e. size()
	  == 0.

Exceptions
	  May throw implementation-defined exceptions.

Complexity
	  Constant.

See also
	  size returns the number of matches  in  a  fully-established	result
       state
	       (public member function)

http://cppreference.com		  2022.07.31	  std::match_results::empty(3)

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

home | help