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

FreeBSD Manual Pages

  
 
  

home | help
std::filesy...path::empty(3)  C++ Standard Libary std::filesy...path::empty(3)

NAME
       std::filesystem::path::empty - std::filesystem::path::empty

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

	  Checks if the	path in	generic	format is empty.

Parameters
	  (none)

Return value
	  true if the path is empty, false otherwise.

Notes
	  An  empty  path can be obtained by calling clear and by default-con-
       structing a path.
	  It can also be returned by a path decomposition  function  (such  as
       extension) if the
	  corresponding	component is not present in the	path.

	  An empty path	is classified as a relative path.

See also
	  constructor	constructs a path
			(public	member function)

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

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

home | help