Tag whether the first argument is an lvalue (declared only).

Synopsis

Declared in <bslmf_invokeresult.h>

static
bslmf::Tag<false>
checkLvalue(/* implementation-defined */ arg, ...);

Description

(Declared but not defined) Return bslmf::Tag<false>() if the first argument is an rvalue and bslmf::Tag<true>() if it is lvalue. In actual use, the second argument is always a literal int, which causes the second overload to be preferred in case of ambiguity.

Parameters

Name

Description

arg

expression whose value category is being tested

Created with MrDocs