BloombergLP::bslmf::InvokeResult_MemPtrArgQualifiers<t_MEMOF_CLASS, t_ARG_TYPE, false>::unpoint

Dereference a pointer type for metaprogramming (declared only).

Synopsis

Declared in <bslmf_invokeresult.h>

template<class t_TP>
static
t_TP&
unpoint(t_TP& arg);

Description

If the argument type t_TP is pointer to type X, where X is not cv-void, return a reference to X; otherwise return a reference to t_TP. Note that these functions are declared but not defined and are intended to be called only in an unevaluated context.

Parameters

NameDescription
argexpression that is returned unchanged when not a pointer