AFIO  v2.00 late alpha
handle.hpp File Reference

Provides handle. More...

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

Classes

class  afio_v2_xxx::handle
 A native_handle_type which is managed by the lifetime of this object instance. More...
 
struct  afio_v2_xxx::handle::flag_base
 Bitwise flags which can be specified. More...
 
struct  afio_v2_xxx::construct< T >
 Metaprogramming shim for constructing any handle subclass. More...
 

Namespaces

 afio_v2_xxx
 The AFIO namespace.
 

Functions

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

Detailed Description

Provides handle.