struct add_lvalue_reference_if_not_pointer

Declaration

template <typename T, typename Enable = void>
struct add_lvalue_reference_if_not_pointer { /* full declaration omitted */ };

Description

If T is a pointer, just return it. If it is not, return T & .

Declared at: llvm/include/llvm/Support/type_traits.h:44

Templates

T
Enable = void