LLFIO v2.00
Loading...
Searching...
No Matches
llfio_v2_xxx::symlink_handle::io_request< const_buffers_type, ____ > Struct Template Reference

Specialisation for writing symlinks. More...

#include "symlink_handle.hpp"

Public Member Functions

 io_request (const_buffers_type _buffers, span< char > _kernelbuffer=span< char >())
 Construct a request to write a link with optionally specified kernel buffer.
 
template<class... Args, typename std::enable_if<(std::is_constructible< path_view, Args... >::value), bool >::type = true>
constexpr io_request (Args &&...args) noexcept
 Convenience constructor constructing from anything a path_view can construct from.
 
template<class... Args, typename std::enable_if<(std::is_constructible< path_view, Args... >::value), bool >::type = true>
constexpr io_request (symlink_type type, Args &&...args) noexcept
 Convenience constructor constructing a specific type of link from anything a path_view can construct from.
 

Public Attributes

const_buffers_type buffers
 
span< char > kernelbuffer
 

Detailed Description

template<bool ____>
struct llfio_v2_xxx::symlink_handle::io_request< const_buffers_type, ____ >

Specialisation for writing symlinks.

Constructor & Destructor Documentation

◆ io_request() [1/3]

template<bool ____>
llfio_v2_xxx::symlink_handle::io_request< const_buffers_type, ____ >::io_request ( const_buffers_type  _buffers,
span< char >  _kernelbuffer = span<char>() 
)
inline

Construct a request to write a link with optionally specified kernel buffer.

314 : buffers(std::move(_buffers))
315 , kernelbuffer(_kernelbuffer)
316 {
317 }

◆ io_request() [2/3]

template<bool ____>
template<class... Args, typename std::enable_if<(std::is_constructible< path_view, Args... >::value), bool >::type = true>
constexpr llfio_v2_xxx::symlink_handle::io_request< const_buffers_type, ____ >::io_request ( Args &&...  args)
inlineconstexprnoexcept

Convenience constructor constructing from anything a path_view can construct from.

322 : buffers(path_view(static_cast<Args &&>(args)...))
323 {
324 }

◆ io_request() [3/3]

template<bool ____>
template<class... Args, typename std::enable_if<(std::is_constructible< path_view, Args... >::value), bool >::type = true>
constexpr llfio_v2_xxx::symlink_handle::io_request< const_buffers_type, ____ >::io_request ( symlink_type  type,
Args &&...  args 
)
inlineconstexprnoexcept

Convenience constructor constructing a specific type of link from anything a path_view can construct from.

329 : buffers(path_view(static_cast<Args &&>(args)...), type)
330 {
331 }

The documentation for this struct was generated from the following file: