Skip to content

Commit 43bf6dc

Browse files
[fs.class.directory.entry.general] Drop friend class
1 parent b373d83 commit 43bf6dc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

source/iostreams.tex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15864,7 +15864,6 @@
1586415864

1586515865
private:
1586615866
filesystem::path pathobject; // \expos
15867-
friend class directory_iterator; // \expos
1586815867
};
1586915868
}
1587015869
\end{codeblock}
@@ -15883,10 +15882,7 @@
1588315882

1588415883
\pnum
1588515884
\begin{note}
15886-
For purposes of exposition,
15887-
class \tcode{directory_iterator}\iref{fs.class.directory.iterator}
15888-
is shown above as a friend of class \tcode{directory_entry}.
15889-
Friendship allows the \tcode{directory_iterator} implementation to cache
15885+
\tcode{directory_iterator} is allowed to cache
1589015886
already available attribute values
1589115887
directly into a \tcode{directory_entry} object
1589215888
without the cost of an unneeded call to \tcode{refresh()}.

0 commit comments

Comments
 (0)