#include <unique_file_ptr.hpp>
Public Types | |
using | element_type = T |
using | pointer = element_type * |
using | reference = std::add_lvalue_reference_t< element_type > |
Public Member Functions | |
constexpr | unique_file_ptr () noexcept |
unique_file_ptr (const std::string &fpath, bool mlock=false) | |
unique_file_ptr (const unique_file_ptr &)=delete | |
unique_file_ptr & | operator= (const unique_file_ptr &)=delete |
unique_file_ptr (std::nullptr_t) noexcept | |
unique_file_ptr & | operator= (std::nullptr_t) noexcept |
unique_file_ptr (unique_file_ptr &&ufp) noexcept | |
unique_file_ptr & | operator= (unique_file_ptr &&ufp) noexcept |
template<typename U > | |
unique_file_ptr (unique_file_ptr< U > &&ufp) noexcept | |
template<typename U > | |
unique_file_ptr & | operator= (unique_file_ptr< U > &&ufp) noexcept |
~unique_file_ptr () | |
operator bool () const noexcept | |
pointer | get () const noexcept |
std::size_t | size () const noexcept |
reference | operator* () const |
reference | operator[] (std::size_t i) const |
pointer | operator-> () const noexcept |
pointer | release () noexcept |
void | swap (unique_file_ptr< T > ufp) |
using ityr::unique_file_ptr< T >::element_type = T |
using ityr::unique_file_ptr< T >::pointer = element_type* |
using ityr::unique_file_ptr< T >::reference = std::add_lvalue_reference_t<element_type> |
|
inlineconstexprnoexcept |
|
inlineexplicit |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inline |
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |