BloombergLP::bslmf::Util

This struct provides several functions that are specified in the <utility> header of the C++ Standard, in order to support the bsl library implementation without cycles into the native standard library, and on platforms with only C++03 compilers available, where library features may be emulated.

Synopsis

Declared in <bslmf_util.h>

struct Util;

Static Member Functions

NameDescription
declval Return an rvalue reference to an object of the specified t_TYPE for use in unevaluated contexts. This function is declared but not defined.
forward forward overloads
forwardAsReference forwardAsReference overloads
forward_like forward_like overloads
moveIfSupported Return std::move(t) if t_TYPE is move constructible, and a reference to t otherwise.