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.
Synopsis
Declared in <llvm/Support/Casting.h>
template<typename To>
struct NullableValueCastFailed;
Static Member Functions
Name |
Description |
Returns a null |
Derived Classes
Name |
Description |
This cast trait provides casting for the specific case of casting to a value‐typed object from a pointer‐typed object. Note that |
Created with MrDocs