FLANG
Public Types | Public Member Functions | List of all members
Fortran::runtime::OwningPtr< A > Class Template Reference

Public Types

using pointer_type = A *
 

Public Member Functions

RT_API_ATTRS OwningPtr (pointer_type p)
 
RT_API_ATTRS OwningPtr (const OwningPtr &)=delete
 
RT_API_ATTRS OwningPtroperator= (const OwningPtr &)=delete
 
RT_API_ATTRS OwningPtr (OwningPtr &&other)
 
RT_API_ATTRS OwningPtroperator= (OwningPtr &&other)
 
constexpr RT_API_ATTRS OwningPtr (std::nullptr_t)
 
RT_API_ATTRS pointer_type release ()
 
RT_DIAG_PUSH RT_DIAG_DISABLE_CALL_HOST_FROM_DEVICE_WARN RT_API_ATTRS void reset (pointer_type p=pointer_type{})
 
RT_API_ATTRS void swap (OwningPtr &other)
 
RT_DIAG_POP RT_API_ATTRS pointer_type get () const
 
RT_API_ATTRS operator bool () const
 
RT_API_ATTRS std::add_lvalue_reference< A >::type operator* () const
 
RT_API_ATTRS pointer_type operator-> () const
 

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