LLVM 22.0.0git
llvm::ScopedHandle< HandleTraits > Class Template Reference

#include "llvm/Support/Windows/WindowsSupport.h"

Inheritance diagram for llvm::ScopedHandle< HandleTraits >:
[legend]

Public Member Functions

 ScopedHandle ()
 ScopedHandle (handle_type h)
 ~ScopedHandle ()
handle_type take ()
ScopedHandleoperator= (handle_type h)
 operator bool () const
 operator handle_type () const

Detailed Description

template<typename HandleTraits>
class llvm::ScopedHandle< HandleTraits >

Definition at line 79 of file WindowsSupport.h.

Constructor & Destructor Documentation

◆ ScopedHandle() [1/2]

template<typename HandleTraits>
llvm::ScopedHandle< HandleTraits >::ScopedHandle ( )
inline

Definition at line 86 of file WindowsSupport.h.

◆ ScopedHandle() [2/2]

template<typename HandleTraits>
llvm::ScopedHandle< HandleTraits >::ScopedHandle ( handle_type h)
inlineexplicit

Definition at line 89 of file WindowsSupport.h.

◆ ~ScopedHandle()

template<typename HandleTraits>
llvm::ScopedHandle< HandleTraits >::~ScopedHandle ( )
inline

Definition at line 92 of file WindowsSupport.h.

Member Function Documentation

◆ operator bool()

template<typename HandleTraits>
llvm::ScopedHandle< HandleTraits >::operator bool ( ) const
inlineexplicit

Definition at line 111 of file WindowsSupport.h.

◆ operator handle_type()

template<typename HandleTraits>
llvm::ScopedHandle< HandleTraits >::operator handle_type ( ) const
inline

Definition at line 115 of file WindowsSupport.h.

◆ operator=()

template<typename HandleTraits>
ScopedHandle & llvm::ScopedHandle< HandleTraits >::operator= ( handle_type h)
inline

Definition at line 103 of file WindowsSupport.h.

◆ take()

template<typename HandleTraits>
handle_type llvm::ScopedHandle< HandleTraits >::take ( )
inline

Definition at line 97 of file WindowsSupport.h.


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