BloombergLP::bsls::Util_AssertNotLvalue

Metafunction that provides a dummy type when TYPE is not an lvalue.

Synopsis

Declared in <bsls_util.h>

template<class TYPE>
struct Util_AssertNotLvalue;

Type Aliases

NameDescription
type Dummy member type used by the forward compile-time check.

Specializations

NameDescription
Util_AssertNotLvalue<TYPE&> Partial specialization that fails when TYPE is an lvalue reference.