Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::experimental::filesystem::path::has_...

      From cppreference.com
      <cpp‎ |experimental‎ |fs‎ |path
       
       
       
      Filesystem library
      Classes
      Functions
      File types
       
      path
      Member functions
      Path decomposition
      path::has_root_pathpath::has_root_namepath::has_root_directorypath::has_relative_pathpath::has_parent_pathpath::has_filenamepath::has_stempath::has_extension
      Non-member functions
       
      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 whetherroot_path() is empty.
      2) Checks whetherroot_name() is empty.
      3) Checks whetherroot_directory() is empty.
      4) Checks whetherrelative_path() is empty.
      5) Checks whetherparent_path() is empty.
      6) Checks whetherfilename() is empty.
      7) Checks whetherstem() is empty.
      8) Checks whetherextension() is empty.

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

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

      [edit]Exceptions

      May throw implementation-defined exceptions.

      [edit]See also

      checks if the path is empty
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/path/has_path&oldid=123295"

      [8]ページ先頭

      ©2009-2026 Movatter.jp