clang 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
clang::UnionOpaquePtr< T > Struct Template Reference

UnionOpaquePtr - A version of OpaquePtr suitable for membership in a union. More...

#include "clang/Sema/Ownership.h"

Inheritance diagram for clang::UnionOpaquePtr< T >:
Inheritance graph
[legend]

Public Member Functions

OpaquePtr< Tget () const
 
 operator OpaquePtr< T > () const
 
UnionOpaquePtroperator= (OpaquePtr< T > P)
 

Static Public Member Functions

static UnionOpaquePtr make (OpaquePtr< T > P)
 

Public Attributes

void * Ptr
 

Detailed Description

template<class T>
struct clang::UnionOpaquePtr< T >

UnionOpaquePtr - A version of OpaquePtr suitable for membership in a union.

Definition at line 96 of file Ownership.h.

Member Function Documentation

◆ get()

template<class T >
OpaquePtr< T > clang::UnionOpaquePtr< T >::get ( ) const
inline

◆ make()

template<class T >
static UnionOpaquePtr clang::UnionOpaquePtr< T >::make ( OpaquePtr< T P)
inlinestatic

Definition at line 99 of file Ownership.h.

References P.

◆ operator OpaquePtr< T >()

template<class T >
clang::UnionOpaquePtr< T >::operator OpaquePtr< T > ( ) const
inline

Definition at line 105 of file Ownership.h.

◆ operator=()

template<class T >
UnionOpaquePtr & clang::UnionOpaquePtr< T >::operator= ( OpaquePtr< T P)
inline

Definition at line 107 of file Ownership.h.

References P, and clang::UnionOpaquePtr< T >::Ptr.

Member Data Documentation

◆ Ptr

template<class T >
void* clang::UnionOpaquePtr< T >::Ptr

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