Sunshine latest
Self-hosted game stream host for Moonlight.
nvprefs::safe_handle Struct Reference
Inheritance diagram for nvprefs::safe_handle:
[legend]
Collaboration diagram for nvprefs::safe_handle:
[legend]

Public Member Functions

 operator bool () const
 
- Public Member Functions inherited from util::uniq_ptr< T, D >
pointer get ()
 
const_pointer get () const
 
deleter_type & get_deleter ()
 
const deleter_type & get_deleter () const
 
 operator bool () const
 
pointer * operator& ()
 
pointer * operator& () const
 
std::add_lvalue_reference_t< element_type > operator* ()
 
std::add_lvalue_reference_t< element_type const > operator* () const
 
pointer operator-> ()
 
const_pointer operator-> () const
 
uniq_ptroperator= (const uniq_ptr &other) noexcept=delete
 
template<class V >
uniq_ptroperator= (std::unique_ptr< V, deleter_type > &&uniq) noexcept
 
template<class V >
uniq_ptroperator= (uniq_ptr< V, deleter_type > &&other) noexcept
 
pointer release ()
 
void reset (pointer p=pointer())
 
 uniq_ptr (const uniq_ptr &other) noexcept=delete
 
constexpr uniq_ptr (std::nullptr_t) noexcept
 
template<class V >
 uniq_ptr (std::unique_ptr< V, deleter_type > &&uniq) noexcept
 
template<class V >
 uniq_ptr (uniq_ptr< V, deleter_type > &&other) noexcept
 
template<class V >
 uniq_ptr (V *p) noexcept
 

Additional Inherited Members

- Public Types inherited from util::uniq_ptr< T, D >
using const_pointer = element_type const *
 
using deleter_type = D
 
using element_type = T
 
using pointer = element_type *
 
- Protected Attributes inherited from util::uniq_ptr< T, D >
deleter_type _deleter
 
pointer _p
 

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