ΒΆtemplate <class X, class Y>
inline auto cast_if_present(const Y& Val)

Description

cast_if_present <X > - Functionally identical to cast, except that a null value is accepted.

Declared at: llvm/include/llvm/Support/Casting.h:684

Templates

X
Y

Parameters

const Y& Val