Component-private class -- do not use. This specialization of traits is for function types that are not wrapped. This specialization is NOT for function pointers or function references.
Declared in <bslalg_nothrowmovableutil.h>
template<class TYPE>
struct NothrowMovableUtil_Traits<TYPE, true>;
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.
| Name |
|---|
IsWrapped |
UnwrappedType |
WrappedType |