Home | Libraries | People | FAQ | More |
Convenience tag type constructing a relative path path_req.
struct path_req::relative : public path_req { bool is_relative; // Whether the precondition is also where this path begins. boost::afio::path path; // The filing system path to be used for this operation. file_flags flags; // The flags to be used for this operation (note they can be overriden by flags passed during dispatcher construction). future precondition; // An optional precondition for this operation };
Function |
Description |
Parameters |
---|---|---|
template<class T> relative(future<> _precondition, T && _path, file_flags _flags = file_flags::none) |
Constructs an instance. |
future<>: _precondition: The precondition for this operation. T &&: _path: The filing system path to be used. file_flags: _flags: The flags to be used. |
relative(future<> _precondition, file_flags _flags = file_flags::none) |
Constructs an instance. |
future<>: _precondition: The precondition for this operation. file_flags: _flags: The flags to be used. |
Function |
Description |
Parameters |
Returns |
---|---|---|---|
bool validate() |
Validates contents. |
#include <boost/afio/v2/afio.hpp>