LLVM 19.0.0git
Public Types | List of all members
llvm::add_const_past_pointer< T, Enable > Struct Template Reference

If T is a pointer to X, return a pointer to const X. More...

#include "llvm/Support/type_traits.h"

Public Types

using type = const T
 

Detailed Description

template<typename T, typename Enable = void>
struct llvm::add_const_past_pointer< T, Enable >

If T is a pointer to X, return a pointer to const X.

If it is not, return const T.

Definition at line 55 of file type_traits.h.

Member Typedef Documentation

◆ type

template<typename T , typename Enable = void>
using llvm::add_const_past_pointer< T, Enable >::type = const T

Definition at line 55 of file type_traits.h.


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