<!DOCTYPE html><html lang='en'><head><title>[fs.class.directory_entry]</title><meta charset='UTF-8'/><link rel='stylesheet' type='text/css' href='14882.css'/><link rel='stylesheet' type='text/css' href='expanded.css' title='Notes and examples expanded'/><link rel='alternate stylesheet' type='text/css' href='colored.css' title='Notes and examples colored'/><link rel='alternate stylesheet' type='text/css' href='collapsed.css' title='Notes and examples collapsed'/><link rel='icon' href='icon.png'/></head><body><div class='wrapper'><h1 ><a class='secnum' style='min-width:73pt'>28</a> Input/output library <a class='abbr_ref' href='./#input.output'>[input.output]</a></h1><h2 ><a class='secnum' style='min-width:88pt'>28.11</a> File systems <a class='abbr_ref' href='filesystems#fs.class.directory_entry'>[filesystems]</a></h2><h3 ><a class='secnum' style='min-width:103pt'>28.11.11</a> Class <span class='texttt'>directory_&shy;entry</span> <a class='abbr_ref'>[fs.class.directory_entry]</a></h3><span class='indexparent'><a class='index' id='lib:directory_entry'></a></span><pre class='codeblock'>
<span class='keyword'>namespace</span> std<span class='operator'>:</span><span class='operator'>:</span>filesystem <span class='curlybracket'>{</span>
  <span class='keyword'>class</span> directory_entry <span class='curlybracket'>{</span>
  <span class='keyword'>public</span><span class='operator'>:</span>
    <span class='comment'>// <a href='#fs.dir.entry.cons'>[fs.dir.entry.cons]</a>, constructors and destructor</span>
    directory_entry<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>noexcept</span> <span class='operator'>=</span> <span class='keyword'>default</span>;
    directory_entry<span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span><span class='parenthesis'>)</span> <span class='operator'>=</span> <span class='keyword'>default</span>;
    directory_entry<span class='parenthesis'>(</span>directory_entry<span class='operator'>&amp;</span><span class='operator'>&amp;</span><span class='parenthesis'>)</span> <span class='keyword'>noexcept</span> <span class='operator'>=</span> <span class='keyword'>default</span>;
    <span class='keyword'>explicit</span> directory_entry<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p<span class='parenthesis'>)</span>;
    directory_entry<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p, error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span>;
    <span class='operator'>~</span>directory_entry<span class='parenthesis'>(</span><span class='parenthesis'>)</span>;

    <span class='comment'>// assignments</span>
    directory_entry<span class='operator'>&amp;</span> <span class='keyword'>operator</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span><span class='parenthesis'>)</span> <span class='operator'>=</span> <span class='keyword'>default</span>;
    directory_entry<span class='operator'>&amp;</span> <span class='keyword'>operator</span><span class='operator'>=</span><span class='parenthesis'>(</span>directory_entry<span class='operator'>&amp;</span><span class='operator'>&amp;</span><span class='parenthesis'>)</span> <span class='keyword'>noexcept</span> <span class='operator'>=</span> <span class='keyword'>default</span>;

    <span class='comment'>// <a href='#fs.dir.entry.mods'>[fs.dir.entry.mods]</a>, modifiers</span>
    <span class='keyword'>void</span> assign<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p<span class='parenthesis'>)</span>;
    <span class='keyword'>void</span> assign<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p, error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span>;
    <span class='keyword'>void</span> replace_filename<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p<span class='parenthesis'>)</span>;
    <span class='keyword'>void</span> replace_filename<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p, error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span>;
    <span class='keyword'>void</span> refresh<span class='parenthesis'>(</span><span class='parenthesis'>)</span>;
    <span class='keyword'>void</span> refresh<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>noexcept</span>;

    <span class='comment'>// <a href='#fs.dir.entry.obs'>[fs.dir.entry.obs]</a>, observers</span>
    <span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> path<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>operator</span> <span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span><span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> exists<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> exists<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_block_file<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_block_file<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_character_file<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_character_file<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_directory<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_directory<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_fifo<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_fifo<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_other<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_other<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_regular_file<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_regular_file<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_socket<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_socket<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> is_symlink<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    <span class='keyword'>bool</span> is_symlink<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    uintmax_t file_size<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    uintmax_t file_size<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    uintmax_t hard_link_count<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    uintmax_t hard_link_count<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    file_time_type last_write_time<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    file_time_type last_write_time<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    file_status status<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    file_status status<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    file_status symlink_status<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
    file_status symlink_status<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;

    <span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='operator'>=</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='operator'>!</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&lt;</span> <span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&gt;</span> <span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&lt;</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
    <span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&gt;</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;

  <span class='keyword'>private</span><span class='operator'>:</span>
    filesystem<span class='operator'>:</span><span class='operator'>:</span>path pathobject;     <span class='comment'>// <span class='textit'>exposition only</span></span>
    <span class='keyword'>friend</span> <span class='keyword'>class</span> directory_iterator; <span class='comment'>// <span class='textit'>exposition only</span></span>
  <span class='curlybracket'>}</span>;
<span class='curlybracket'>}</span>
</pre><div class='para' id='1'><div class='marginalizedparent'><a class='marginalized' href='#1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13419'>#</a></div><div id='1.sentence-1' class='sentence'><span class='indexparent'><a class='index' id=':file_attributes'></a></span>A <span class='texttt'>directory_&shy;entry</span> object stores a <span class='texttt'>path</span> object
and may store additional objects for file attributes
such as hard link count, status, symlink status, file size, and last write time<a class='hidden_link' href='#1.sentence-1'>.</a></div></div><div class='para' id='2'><div class='marginalizedparent'><a class='marginalized' href='#2'>2</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13425'>#</a></div><div id='2.sentence-1' class='sentence'>Implementations should store such additional file attributes
during directory iteration if their values are available
and storing the values would allow the implementation to eliminate file system accesses
by <span class='texttt'>directory_&shy;entry</span> observer functions (<a href='fs.op.funcs'>[fs.op.funcs]</a>)<a class='hidden_link' href='#2.sentence-1'>.</a></div> <div id='2.sentence-2' class='sentence'>Such stored file attribute values are said to be <a class='hidden_link' href='#def:file_attributes,cached' id='def:file_attributes,cached'><i >cached</i></a><a class='hidden_link' href='#2.sentence-2'>.</a></div></div><div class='para' id='3'><div class='marginalizedparent'><a class='marginalized' href='#3'>3</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13432'>#</a></div><div id='3.note-1' class='note'>[<span style='white-space:nowrap'> </span><a class='note_link' href='#3.note-1'><span class='textit'>Note</span></a><div class='noteBody'><span class='textit'>:</span> <div id='3.sentence-1' class='sentence'>For purposes of exposition,
class <span class='texttt'>directory_&shy;iterator</span> (<a href='fs.class.directory_iterator'>[fs.class.directory_iterator]</a>)
is shown above as a friend of class <span class='texttt'>directory_&shy;entry</span><a class='hidden_link' href='#3.sentence-1'>.</a></div> <div id='3.sentence-2' class='sentence'>Friendship allows the <span class='texttt'>directory_&shy;iterator</span> implementation to cache
already available attribute values
directly into a <span class='texttt'>directory_&shy;entry</span> object
without the cost of an unneeded call to <span class='texttt'>refresh<span class='parenthesis'>(</span><span class='parenthesis'>)</span></span><a class='hidden_link' href='#3.sentence-2'>.</a></div> —<span style='white-space:nowrap'> </span><i>end note</i></div><span style='white-space:nowrap'> </span>]</div> </div><div class='para' id='4'><div class='marginalizedparent'><a class='marginalized' href='#4'>4</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13443'>#</a></div><div id='4.example-1' class='example'>[<span style='white-space:nowrap'> </span><a class='example_link' href='#4.example-1'><span class='textit'>Example</span></a><div class='exampleBody'><span class='textit'>:</span> <pre class='codeblock'>
<span class='keyword'>using</span> <span class='keyword'>namespace</span> std<span class='operator'>:</span><span class='operator'>:</span>filesystem;

<span class='comment'>// use possibly cached last write time to minimize disk accesses</span>
<span class='keyword'>for</span> <span class='parenthesis'>(</span><span class='keyword'>auto</span><span class='operator'>&amp;</span><span class='operator'>&amp;</span> x <span class='operator'>:</span> directory_iterator<span class='parenthesis'>(</span><span class='literal'>"."</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span>
<span class='curlybracket'>{</span>
  std<span class='operator'>:</span><span class='operator'>:</span>cout <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> x<span class='operator'>.</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> <span class='literal'>" "</span> <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> x<span class='operator'>.</span>last_write_time<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> std<span class='operator'>:</span><span class='operator'>:</span>endl;
<span class='curlybracket'>}</span>

<span class='comment'>// call <span class='tcode_in_codeblock'>refresh()</span> to refresh a stale cache</span>
<span class='keyword'>for</span> <span class='parenthesis'>(</span><span class='keyword'>auto</span><span class='operator'>&amp;</span><span class='operator'>&amp;</span> x <span class='operator'>:</span> directory_iterator<span class='parenthesis'>(</span><span class='literal'>"."</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span>
<span class='curlybracket'>{</span>
  lengthy_function<span class='parenthesis'>(</span>x<span class='operator'>.</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span>;  <span class='comment'>// cache becomes stale</span>
  x<span class='operator'>.</span>refresh<span class='parenthesis'>(</span><span class='parenthesis'>)</span>;
  std<span class='operator'>:</span><span class='operator'>:</span>cout <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> x<span class='operator'>.</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> <span class='literal'>" "</span> <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> x<span class='operator'>.</span>last_write_time<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='anglebracket'>&lt;</span><span class='anglebracket'>&lt;</span> std<span class='operator'>:</span><span class='operator'>:</span>endl;
<span class='curlybracket'>}</span>
</pre> <div id='4.sentence-1' class='sentence'>
On implementations that do not cache the last write time,
both loops will result in a potentially expensive call
to the <span class='texttt'>std<span class='operator'>:</span><span class='operator'>:</span>filesystem<span class='operator'>:</span><span class='operator'>:</span>last_&shy;write_&shy;time</span> function<a class='hidden_link' href='#4.sentence-1'>.</a></div> <div id='4.sentence-2' class='sentence'>On implementations that do cache the last write time,
the first loop will use the cached value and so
will not result in a potentially expensive call
to the <span class='texttt'>std<span class='operator'>:</span><span class='operator'>:</span>filesystem<span class='operator'>:</span><span class='operator'>:</span>last_&shy;write_&shy;time</span> function<a class='hidden_link' href='#4.sentence-2'>.</a></div> <div id='4.sentence-3' class='sentence'>The code is portable to any implementation,
regardless of whether or not it employs caching<a class='hidden_link' href='#4.sentence-3'>.</a></div> —<span style='white-space:nowrap'> </span><i>end example</i></div><span style='white-space:nowrap'> </span>]</div> </div><div id='fs.dir.entry.cons' class='section'><h4 ><a class='secnum' href='#fs.dir.entry.cons' style='min-width:118pt'>28.11.11.1</a> Constructors <a class='abbr_ref' href='fs.dir.entry.cons'>[fs.dir.entry.cons]</a></h4><span class='indexparent'><a class='index' id='lib:directory_entry,constructor'></a></span><div class='itemdecl' id='fs.dir.entry.cons-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.cons-itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>explicit</span> directory_entry<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p<span class='parenthesis'>)</span>;
directory_entry<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p, error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.cons-1'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.cons-1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13484'>#</a></div><div id='fs.dir.entry.cons-1.sentence-1' class='sentence'><span class='textit'>Effects:</span> Constructs an object of type <span class='texttt'>directory_&shy;entry</span>,
then <span class='texttt'>refresh<span class='parenthesis'>(</span><span class='parenthesis'>)</span></span> or <span class='texttt'>refresh<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.cons-1.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.cons-2'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.cons-2'>2</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13488'>#</a></div><div id='fs.dir.entry.cons-2.sentence-1' class='sentence'><span class='textit'>Ensures:</span> <span class='texttt'>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='operator'>=</span><span class='operator'>=</span> p</span> if no error occurs,
otherwise <span class='texttt'>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='operator'>=</span><span class='operator'>=</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span></span><a class='hidden_link' href='#fs.dir.entry.cons-2.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.cons-3'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.cons-3'>3</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13492'>#</a></div><div id='fs.dir.entry.cons-3.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.cons-3.sentence-1'>.</a></div></div></div></div><div id='fs.dir.entry.mods' class='section'><h4 ><a class='secnum' href='#fs.dir.entry.mods' style='min-width:118pt'>28.11.11.2</a> Modifiers <a class='abbr_ref' href='fs.dir.entry.mods'>[fs.dir.entry.mods]</a></h4><span class='indexparent'><a class='index' id='lib:assign,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,assign'></a></span><div class='itemdecl' id='fs.dir.entry.mods-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.mods-itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>void</span> assign<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p<span class='parenthesis'>)</span>;
<span class='keyword'>void</span> assign<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p, error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.mods-1'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.mods-1'>1</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13505'>#</a></div><div id='fs.dir.entry.mods-1.sentence-1' class='sentence'><span class='textit'>Effects:</span> Equivalent to <span class='texttt'>pathobject <span class='operator'>=</span> p</span>,
then <span class='texttt'>refresh<span class='parenthesis'>(</span><span class='parenthesis'>)</span></span> or <span class='texttt'>refresh<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.mods-1.sentence-1'>.</a></div> <div id='fs.dir.entry.mods-1.sentence-2' class='sentence'>If an error occurs, the values of any cached attributes are unspecified<a class='hidden_link' href='#fs.dir.entry.mods-1.sentence-2'>.</a></div></div></div><div class='para' id='fs.dir.entry.mods-2'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.mods-2'>2</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13510'>#</a></div><div id='fs.dir.entry.mods-2.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.mods-2.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:replace_filename,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,replace_filename'></a></span><div class='itemdecl' id='fs.dir.entry.mods-itemdecl:2'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.mods-itemdecl:2'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>void</span> replace_filename<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p<span class='parenthesis'>)</span>;
<span class='keyword'>void</span> replace_filename<span class='parenthesis'>(</span><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> p, error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.mods-3'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.mods-3'>3</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13521'>#</a></div><div id='fs.dir.entry.mods-3.sentence-1' class='sentence'><span class='textit'>Effects:</span> Equivalent to <span class='texttt'>pathobject<span class='operator'>.</span>replace_&shy;filename<span class='parenthesis'>(</span>p<span class='parenthesis'>)</span></span>,
then <span class='texttt'>refresh<span class='parenthesis'>(</span><span class='parenthesis'>)</span></span> or <span class='texttt'>refresh<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.mods-3.sentence-1'>.</a></div> <div id='fs.dir.entry.mods-3.sentence-2' class='sentence'>If an error occurs, the values of any cached attributes are unspecified<a class='hidden_link' href='#fs.dir.entry.mods-3.sentence-2'>.</a></div><div style='height:0.6em;display:block'></div><div id='fs.dir.entry.mods-3.sentence-3' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.mods-3.sentence-3'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:refresh,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,refresh'></a></span><div class='itemdecl' id='fs.dir.entry.mods-itemdecl:3'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.mods-itemdecl:3'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>void</span> refresh<span class='parenthesis'>(</span><span class='parenthesis'>)</span>;
<span class='keyword'>void</span> refresh<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.mods-4'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.mods-4'>4</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13536'>#</a></div><div id='fs.dir.entry.mods-4.sentence-1' class='sentence'><span class='textit'>Effects:</span> Stores the current values of any cached attributes of the file <span class='texttt'>p</span> resolves to<a class='hidden_link' href='#fs.dir.entry.mods-4.sentence-1'>.</a></div> <div id='fs.dir.entry.mods-4.sentence-2' class='sentence'>If an error occurs, an error is reported (<a href='fs.err.report'>[fs.err.report]</a>)
and the values of any cached attributes are unspecified<a class='hidden_link' href='#fs.dir.entry.mods-4.sentence-2'>.</a></div></div></div><div class='para' id='fs.dir.entry.mods-5'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.mods-5'>5</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13541'>#</a></div><div id='fs.dir.entry.mods-5.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.mods-5.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.mods-6'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.mods-6'>6</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13544'>#</a></div><div id='fs.dir.entry.mods-6.note-1' class='note'>[<span style='white-space:nowrap'> </span><a class='note_link' href='#fs.dir.entry.mods-6.note-1'><span class='textit'>Note</span></a><div class='noteBody'><span class='textit'>:</span> <div id='fs.dir.entry.mods-6.sentence-1' class='sentence'>Implementations of <span class='texttt'>directory_&shy;iterator</span> (<a href='fs.class.directory_iterator'>[fs.class.directory_iterator]</a>)
are prohibited from directly or indirectly calling the <span class='texttt'>refresh</span> function
since it must access the external file system,
and the objective of caching is to avoid unnecessary file system accesses<a class='hidden_link' href='#fs.dir.entry.mods-6.sentence-1'>.</a></div> —<span style='white-space:nowrap'> </span><i>end note</i></div><span style='white-space:nowrap'> </span>]</div> </div></div></div><div id='fs.dir.entry.obs' class='section'><h4 ><a class='secnum' href='#fs.dir.entry.obs' style='min-width:118pt'>28.11.11.3</a> Observers <a class='abbr_ref' href='fs.dir.entry.obs'>[fs.dir.entry.obs]</a></h4><div class='para' id='fs.dir.entry.obs-1'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-1'>1</a></div><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13555'>#</a></div><div id='fs.dir.entry.obs-1.sentence-1' class='sentence'>Unqualified function names in the <span class='textit'>Returns:</span> elements of the
<span class='texttt'>directory_&shy;entry</span> observers described below refer to members of the
<span class='texttt'>std<span class='operator'>:</span><span class='operator'>:</span>filesystem</span> namespace<a class='hidden_link' href='#fs.dir.entry.obs-1.sentence-1'>.</a></div> <span class='indexparent'><a class='index' id='lib:path,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,path'></a></span><span class='indexparent'><a class='index' id='lib:operator_const_filesystem::path&amp;,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,operator_const_filesystem::path&amp;'></a></span></div><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:1'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:1'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span> path<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
<span class='keyword'>operator</span> <span class='keyword'>const</span> filesystem<span class='operator'>:</span><span class='operator'>:</span>path<span class='operator'>&amp;</span><span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-2'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-2'>2</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13568'>#</a></div><div id='fs.dir.entry.obs-2.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>pathobject</span><a class='hidden_link' href='#fs.dir.entry.obs-2.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:exists,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,exists'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:2'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:2'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> exists<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> exists<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-3'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-3'>3</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13579'>#</a></div><div id='fs.dir.entry.obs-3.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>exists<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>exists<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-3.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-4'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-4'>4</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13582'>#</a></div><div id='fs.dir.entry.obs-4.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-4.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_block_file,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_block_file'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:3'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:3'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_block_file<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_block_file<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-5'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-5'>5</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13593'>#</a></div><div id='fs.dir.entry.obs-5.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;block_&shy;file<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;block_&shy;file<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-5.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-6'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-6'>6</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13596'>#</a></div><div id='fs.dir.entry.obs-6.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-6.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_character_file,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_character_file'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:4'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:4'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_character_file<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_character_file<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-7'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-7'>7</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13607'>#</a></div><div id='fs.dir.entry.obs-7.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;character_&shy;file<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;character_&shy;file<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-7.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-8'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-8'>8</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13610'>#</a></div><div id='fs.dir.entry.obs-8.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-8.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_directory,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_directory'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:5'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:5'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_directory<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_directory<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-9'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-9'>9</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13621'>#</a></div><div id='fs.dir.entry.obs-9.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;directory<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;directory<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-9.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-10'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-10'>10</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13624'>#</a></div><div id='fs.dir.entry.obs-10.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-10.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_fifo,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_fifo'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:6'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:6'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_fifo<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_fifo<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-11'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-11'>11</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13635'>#</a></div><div id='fs.dir.entry.obs-11.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;fifo<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;fifo<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-11.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-12'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-12'>12</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13638'>#</a></div><div id='fs.dir.entry.obs-12.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-12.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_other,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_other'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:7'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:7'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_other<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_other<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-13'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-13'>13</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13649'>#</a></div><div id='fs.dir.entry.obs-13.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;other<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;other<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-13.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-14'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-14'>14</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13652'>#</a></div><div id='fs.dir.entry.obs-14.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-14.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_regular_file,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_regular_file'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:8'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:8'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_regular_file<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_regular_file<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-15'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-15'>15</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13663'>#</a></div><div id='fs.dir.entry.obs-15.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;regular_&shy;file<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;regular_&shy;file<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-15.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-16'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-16'>16</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13666'>#</a></div><div id='fs.dir.entry.obs-16.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-16.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_socket,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_socket'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:9'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:9'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_socket<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_socket<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-17'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-17'>17</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13677'>#</a></div><div id='fs.dir.entry.obs-17.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;socket<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;socket<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-17.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-18'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-18'>18</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13680'>#</a></div><div id='fs.dir.entry.obs-18.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-18.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:is_symlink,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,is_symlink'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:10'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:10'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> is_symlink<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
<span class='keyword'>bool</span> is_symlink<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-19'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-19'>19</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13691'>#</a></div><div id='fs.dir.entry.obs-19.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>is_&shy;symlink<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>symlink_&shy;status<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>is_&shy;symlink<span class='parenthesis'>(</span><span class='keyword'>this</span><span class='operator'>-</span><span class='anglebracket'>&gt;</span>symlink_&shy;status<span class='parenthesis'>(</span>ec<span class='parenthesis'>)</span><span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-19.sentence-1'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-20'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-20'>20</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13694'>#</a></div><div id='fs.dir.entry.obs-20.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-20.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:file_size,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,file_size'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:11'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:11'>🔗</a></div><code class='itemdeclcode'>uintmax_t file_size<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
uintmax_t file_size<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-21'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-21'>21</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13705'>#</a></div><div id='fs.dir.entry.obs-21.sentence-1' class='sentence'><span class='textit'>Returns:</span> If cached, the file size attribute value<a class='hidden_link' href='#fs.dir.entry.obs-21.sentence-1'>.</a></div> <div id='fs.dir.entry.obs-21.sentence-2' class='sentence'>Otherwise, <span class='texttt'>file_&shy;size<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>file_&shy;size<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span>, ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-21.sentence-2'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-22'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-22'>22</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13709'>#</a></div><div id='fs.dir.entry.obs-22.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-22.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:hard_link_count,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,hard_link_count'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:12'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:12'>🔗</a></div><code class='itemdeclcode'>uintmax_t hard_link_count<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
uintmax_t hard_link_count<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-23'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-23'>23</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13720'>#</a></div><div id='fs.dir.entry.obs-23.sentence-1' class='sentence'><span class='textit'>Returns:</span> If cached, the hard link count attribute value<a class='hidden_link' href='#fs.dir.entry.obs-23.sentence-1'>.</a></div> <div id='fs.dir.entry.obs-23.sentence-2' class='sentence'>Otherwise, <span class='texttt'>hard_&shy;link_&shy;count<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>hard_&shy;link_&shy;count<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span>, ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-23.sentence-2'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-24'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-24'>24</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13724'>#</a></div><div id='fs.dir.entry.obs-24.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-24.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:last_write_time,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,last_write_time'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:13'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:13'>🔗</a></div><code class='itemdeclcode'>file_time_type last_write_time<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
file_time_type last_write_time<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-25'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-25'>25</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13735'>#</a></div><div id='fs.dir.entry.obs-25.sentence-1' class='sentence'><span class='textit'>Returns:</span> If cached, the last write time attribute value<a class='hidden_link' href='#fs.dir.entry.obs-25.sentence-1'>.</a></div> <div id='fs.dir.entry.obs-25.sentence-2' class='sentence'>Otherwise, <span class='texttt'>last_&shy;write_&shy;time<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>last_&shy;write_&shy;time<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span>, ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-25.sentence-2'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-26'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-26'>26</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13739'>#</a></div><div id='fs.dir.entry.obs-26.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-26.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:status,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,status'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:14'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:14'>🔗</a></div><code class='itemdeclcode'>file_status status<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
file_status status<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-27'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-27'>27</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13750'>#</a></div><div id='fs.dir.entry.obs-27.sentence-1' class='sentence'><span class='textit'>Returns:</span> If cached, the status attribute value<a class='hidden_link' href='#fs.dir.entry.obs-27.sentence-1'>.</a></div> <div id='fs.dir.entry.obs-27.sentence-2' class='sentence'>Otherwise, <span class='texttt'>status<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>status<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span>, ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-27.sentence-2'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-28'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-28'>28</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13754'>#</a></div><div id='fs.dir.entry.obs-28.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-28.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:symlink_status,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,symlink_status'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:15'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:15'>🔗</a></div><code class='itemdeclcode'>file_status symlink_status<span class='parenthesis'>(</span><span class='parenthesis'>)</span> <span class='keyword'>const</span>;
file_status symlink_status<span class='parenthesis'>(</span>error_code<span class='operator'>&amp;</span> ec<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-29'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-29'>29</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13765'>#</a></div><div id='fs.dir.entry.obs-29.sentence-1' class='sentence'><span class='textit'>Returns:</span> If cached, the symlink status attribute value<a class='hidden_link' href='#fs.dir.entry.obs-29.sentence-1'>.</a></div> <div id='fs.dir.entry.obs-29.sentence-2' class='sentence'>Otherwise, <span class='texttt'>symlink_&shy;status<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span><span class='parenthesis'>)</span></span> or <span class='texttt'>symlink_&shy;status<span class='parenthesis'>(</span>path<span class='parenthesis'>(</span><span class='parenthesis'>)</span>, ec<span class='parenthesis'>)</span></span>, respectively<a class='hidden_link' href='#fs.dir.entry.obs-29.sentence-2'>.</a></div></div></div><div class='para' id='fs.dir.entry.obs-30'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-30'>30</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13769'>#</a></div><div id='fs.dir.entry.obs-30.sentence-1' class='sentence'><span class='textit'>Throws:</span> As specified in <a href='fs.err.report'>[fs.err.report]</a><a class='hidden_link' href='#fs.dir.entry.obs-30.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:operator==,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,operator=='></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:16'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:16'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='operator'>=</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-31'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-31'>31</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13779'>#</a></div><div id='fs.dir.entry.obs-31.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>pathobject <span class='operator'>=</span><span class='operator'>=</span> rhs<span class='operator'>.</span>pathobject</span><a class='hidden_link' href='#fs.dir.entry.obs-31.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:operator!=,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,operator!='></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:17'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:17'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='operator'>!</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-32'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-32'>32</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13789'>#</a></div><div id='fs.dir.entry.obs-32.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>pathobject <span class='operator'>!</span><span class='operator'>=</span> rhs<span class='operator'>.</span>pathobject</span><a class='hidden_link' href='#fs.dir.entry.obs-32.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:operator<,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,operator<'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:18'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:18'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&lt;</span> <span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-33'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-33'>33</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13799'>#</a></div><div id='fs.dir.entry.obs-33.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>pathobject <span class='anglebracket'>&lt;</span> rhs<span class='operator'>.</span>pathobject</span><a class='hidden_link' href='#fs.dir.entry.obs-33.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:operator>,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,operator>'></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:19'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:19'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&gt;</span> <span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-34'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-34'>34</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13809'>#</a></div><div id='fs.dir.entry.obs-34.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>pathobject <span class='anglebracket'>&gt;</span> rhs<span class='operator'>.</span>pathobject</span><a class='hidden_link' href='#fs.dir.entry.obs-34.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:operator<=,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,operator<='></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:20'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:20'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&lt;</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-35'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-35'>35</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13819'>#</a></div><div id='fs.dir.entry.obs-35.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>pathobject <span class='anglebracket'>&lt;</span><span class='operator'>=</span> rhs<span class='operator'>.</span>pathobject</span><a class='hidden_link' href='#fs.dir.entry.obs-35.sentence-1'>.</a></div></div></div><span class='indexparent'><a class='index' id='lib:operator>=,directory_entry'></a></span><span class='indexparent'><a class='index' id='lib:directory_entry,operator>='></a></span><div class='itemdecl' id='fs.dir.entry.obs-itemdecl:21'><div class='marginalizedparent'><a class='itemDeclLink' href='#fs.dir.entry.obs-itemdecl:21'>🔗</a></div><code class='itemdeclcode'><span class='keyword'>bool</span> <span class='keyword'>operator</span><span class='anglebracket'>&gt;</span><span class='operator'>=</span><span class='parenthesis'>(</span><span class='keyword'>const</span> directory_entry<span class='operator'>&amp;</span> rhs<span class='parenthesis'>)</span> <span class='keyword'>const</span> <span class='keyword'>noexcept</span>;
</code></div><div class='itemdescr'></div><div class='para' id='fs.dir.entry.obs-36'><div class='marginalizedparent'><a class='marginalized' href='#fs.dir.entry.obs-36'>36</a></div><div class='itemdescr'><div class='sourceLinkParent'><a class='sourceLink' href='https://github.com/Eelis/draft73ca144c7e48612fe72742f9f6a5ec9ad6a934d2/source/iostreams.tex#L13829'>#</a></div><div id='fs.dir.entry.obs-36.sentence-1' class='sentence'><span class='textit'>Returns:</span> <span class='texttt'>pathobject <span class='anglebracket'>&gt;</span><span class='operator'>=</span> rhs<span class='operator'>.</span>pathobject</span><a class='hidden_link' href='#fs.dir.entry.obs-36.sentence-1'>.</a></div></div></div></div></div></body></html>