LLFIO  v2.00
handle.hpp File Reference

Provides handle. More...

#include "deadline.h"
#include "native_handle_type.hpp"
#include "status_code.hpp"
#include <algorithm>
#include <cassert>

Classes

class  llfio_v2_xxx::handle
 A native_handle_type which is managed by the lifetime of this object instance. More...
 
struct  llfio_v2_xxx::construct< T >
 Metaprogramming shim for constructing any handle subclass. More...
 

Namespaces

 llfio_v2_xxx
 The LLFIO namespace.
 

Functions

std::ostream & llfio_v2_xxx::operator<< (std::ostream &s, const handle &v)
 
std::ostream & llfio_v2_xxx::operator<< (std::ostream &s, const handle::mode &v)
 
std::ostream & llfio_v2_xxx::operator<< (std::ostream &s, const handle::creation &v)
 
std::ostream & llfio_v2_xxx::operator<< (std::ostream &s, const handle::caching &v)
 
std::ostream & llfio_v2_xxx::operator<< (std::ostream &s, const handle::flag &v)
 
template<class Dest , class Src >
void llfio_v2_xxx::detail::fill_failure_info (Dest &dest, const Src &src)
 
template<class T >
void llfio_v2_xxx::detail::log_inst_to_info (const handle *inst, const char *buffer)
 
void llfio_v2_xxx::swap (handle &self, handle &o) noexcept
 Swap with another instance.
 
result< void > llfio_v2_xxx::close (handle &self) noexcept
 Immediately close the native handle type managed by this handle.
 

Detailed Description

Provides handle.