LLVM 19.0.0git
List of all members
llvm::CastInfo< To, std::unique_ptr< From > > Struct Template Reference

Provide a CastInfo specialized for std::unique_ptr. More...

#include "llvm/Support/Casting.h"

Inheritance diagram for llvm::CastInfo< To, std::unique_ptr< From > >:
Inheritance graph
[legend]

Additional Inherited Members

- Public Types inherited from llvm::UniquePtrCast< To, From, Derived >
using Self = detail::SelfType< Derived, UniquePtrCast< To, From > >
 
using CastResultType = std::unique_ptr< std::remove_reference_t< typename cast_retty< To, From >::ret_type > >
 
- Static Public Member Functions inherited from llvm::UniquePtrCast< To, From, Derived >
static CastResultType doCast (std::unique_ptr< From > &&f)
 
static CastResultType castFailed ()
 
static CastResultType doCastIfPossible (std::unique_ptr< From > &f)
 
- Static Public Member Functions inherited from llvm::CastIsPossible< To, From * >
static bool isPossible (const From * &f)
 

Detailed Description

template<typename To, typename From>
struct llvm::CastInfo< To, std::unique_ptr< From > >

Provide a CastInfo specialized for std::unique_ptr.

Definition at line 533 of file Casting.h.


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