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

FreeBSD Manual Pages

  
 
  

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

NAME
       std::experimental::filesystem::path::has_...	 -     std::experimen-
       tal::filesystem::path::has_...

Synopsis
	  bool has_root_path() const;	   (1) (filesystem TS)
	  bool has_root_name() const;	   (2) (filesystem TS)
	  bool has_root_directory() const; (3) (filesystem TS)
	  bool has_relative_path() const;  (4) (filesystem TS)
	  bool has_parent_path() const;	   (5) (filesystem TS)
	  bool has_filename() const;	   (6) (filesystem TS)
	  bool has_stem() const;	   (7) (filesystem TS)
	  bool has_extension() const;	   (8) (filesystem TS)

	  Checks whether the path contains the corresponding path element.

	  1) Checks whether root_path()	is empty.
	  2) Checks whether root_name()	is empty.
	  3) Checks whether root_directory() is	empty.
	  4) Checks whether relative_path() is empty.
	  5) Checks whether parent_path() is empty.
	  6) Checks whether filename() is empty.
	  7) Checks whether stem() is empty.
	  8) Checks whether extension()	is empty.

Parameters
	  (none)

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

Exceptions
	  May throw implementation-defined exceptions.

See also
	  empty	checks if the path is empty
		(public	member function)

http://cppreference.com		  2022.07.31	  std::experi...th::has_...(3)

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

home | help