AFIO  v2.00 late alpha
cached_parent_handle_adapter.hpp File Reference

Adapts any fs_handle to cache its parent directory handle. More...

Classes

class  afio_v2_xxx::algorithm::cached_parent_handle_adapter< T >
 Adapts any construct()-able implementation to cache its parent directory handle in a process wide cache. More...
 
struct  afio_v2_xxx::construct< algorithm::cached_parent_handle_adapter< T > >
 Constructor for algorithm::cached_parent_handle_adapter<T> More...
 

Namespaces

 afio_v2_xxx
 The AFIO namespace.
 
 afio_v2_xxx::algorithm
 Collection of file system based algorithms.
 

Typedefs

using afio_v2_xxx::algorithm::detail::cached_path_handle_ptr = std::shared_ptr< cached_path_handle >
 

Functions

std::pair< cached_path_handle_ptr, filesystem::path > afio_v2_xxx::algorithm::detail::get_cached_path_handle (const path_handle &base, path_view path)
 
template<class T , class... Args>
result< cached_parent_handle_adapter< T > > afio_v2_xxx::algorithm::cache_parent (Args &&... args) noexcept
 Constructs a T adapted into a parent handle caching implementation. More...
 

Detailed Description

Adapts any fs_handle to cache its parent directory handle.