Component‐private traits for unwrapped function types.

Synopsis

Declared in <bslalg_nothrowmovableutil.h>

template<class TYPE>
struct NothrowMovableUtil_Traits<TYPE, true>;

Description

Do not use. This specialization is for function types that are not wrapped. This specialization is NOT for function pointers or function references.

UnwrappedType is an object type, and is thus the decayed version of TYPE, i.e., a function pointer. Since unwrap always returns a reference, this decay means that, unwrap(f) will not compile if f is a function or reference to function. However UnwrappedType pf = f; will work whether f is a function or not.

Type Aliases

Name

Description

IsWrapped

Alias for bsl::false_type (type is not wrapped).

UnwrappedType

Alias for the unwrapped type of TYPE.

WrappedType

Alias for the wrapped type of TYPE.

Created with MrDocs