libstdc++
Public Member Functions | Public Attributes | List of all members
std::inout_ptr_t< _Smart, _Pointer, _Args > Class Template Reference

Public Member Functions

 inout_ptr_t (_Smart &__smart, _Args... __args)
 
 inout_ptr_t (const inout_ptr_t &)=delete
 
 operator _Pointer * () const noexcept
 
 operator void ** () const noexcept requires(!same_as< _Pointer
 
return static_cast (static_cast< void * >(__p))
 

Public Attributes

void *_Pointer * __p
 

Detailed Description

template<typename _Smart, typename _Pointer, typename... _Args>
class std::inout_ptr_t< _Smart, _Pointer, _Args >

Smart pointer adaptor for functions taking an inout pointer parameter.

Template Parameters
_SmartThe type of pointer to adapt.
_PointerThe type of pointer to convert to.
_Args...Argument types used when resetting the smart pointer.
Since
C++23

Definition at line 300 of file out_ptr.h.


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