Skip to content

<filesystem>: directory_entry::clear_cache is non-standard #2838

@cpplearner

Description

@cpplearner

The directory_entry class has a member function clear_cache:

STL/stl/inc/filesystem

Lines 2178 to 2182 in c34f249

#if _HAS_CXX20
void clear_cache() noexcept {
_Cached_data._Available = __std_fs_stats_flags::_None;
}
#endif // _HAS_CXX20

And this function is mentioned in <yvals_core.h> with paper number P????R?:

// P????R? directory_entry::clear_cache()

It appears that this function is part of the change to <filesystem> depicted in #232 (comment), but AFAIK the change did not materialize into a proposal.

Given that #232 was closed via #1343, is there still interest in this function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfilesystemC++17 filesystemfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions