BloombergLP::bslmf::InvokeResult_VoidChecker

Empty type used to detect void expressions. The size of this type is the same as bslmf::Tag<1>.

Synopsis

Declared in <bslmf_invokeresult.h>

struct InvokeResult_VoidChecker
    : Tag<true>

Base Classes

NameDescription
Tag<true>This template class is never intended to produce a run-time instance. The only useful attribute of a tag is its size (which is, of course, computable at compile time, even if an instance is never created). Note that in case of overflow on Linux 64-bit machines, we split the size into 2 data members.

Data Members

NameDescription
d_lowerSizeArray Lower 16 bits of the compile-time size encoded by this tag.
d_upperSizeArray Upper 16 bits of the compile-time size encoded by this tag.