clang  6.0.0svn
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]
Collaboration diagram for clang::UnionOpaquePtr< T >:
Collaboration 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 90 of file Ownership.h.

Member Function Documentation

◆ get()

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

Definition at line 98 of file Ownership.h.

Referenced by clang::Sema::CheckDeductionGuideDeclarator().

◆ make()

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

Definition at line 93 of file Ownership.h.

◆ operator OpaquePtr< T >()

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

Definition at line 99 of file Ownership.h.

◆ operator=()

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

Definition at line 101 of file Ownership.h.

Member Data Documentation

◆ Ptr

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

Definition at line 91 of file Ownership.h.


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