xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::windows::LocalFreePointer< Element >::Setter Class Referencefinal

Helper class for calling functions that take an output parameter. More...

#include <xentara/utils/windows/LocalFree.hpp>

+ Inheritance diagram for xentara::utils::windows::LocalFreePointer< Element >::Setter:

Public Member Functions

 ~Setter ()
 Destructor.
 
 operator Element ** () noexcept
 Gets a pointer that can be passed to a function that takes an output parameter.
 

Detailed Description

template<typename Element>
requires (!std::is_array_v<Element>)
class xentara::utils::windows::LocalFreePointer< Element >::Setter

Helper class for calling functions that take an output parameter.

See also
setter()

Constructor & Destructor Documentation

◆ ~Setter()

template<typename Element >
xentara::utils::windows::LocalFreePointer< Element >::Setter::~Setter ( )

Destructor.

Applies the value

Member Function Documentation

◆ operator Element **()

template<typename Element >
xentara::utils::windows::LocalFreePointer< Element >::Setter::operator Element ** ( )
noexcept

Gets a pointer that can be passed to a function that takes an output parameter.