Provides a declarative castFailed that constructs a null To.
Synopsis
Declared in <llvm/Support/Casting.h>
template<typename To>
struct NullableValueCastFailed;
Description
This cast trait just provides castFailed for the specified To type to make CastInfo specializations more declarative. In order to use this, the target result type must be To and To must be constructible from nullptr.
Static Member Functions
Name |
Description |
Returns a null |
Derived Classes
Name |
Description |
Cast trait for constructing a value‐typed |
Created with MrDocs