Quick Links: |
#include <bslalg_nothrowmovableutil.h>
Public Types | |
typedef bsl::false_type | IsWrapped |
typedef TYPE * | UnwrappedType |
typedef NothrowMovableWrapper < TYPE * > | WrappedType |
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.
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.
See Component bslalg_nothrowmovableutil
typedef bsl::false_type bslalg::NothrowMovableUtil_Traits< TYPE, true >::IsWrapped |
typedef TYPE* bslalg::NothrowMovableUtil_Traits< TYPE, true >::UnwrappedType |
typedef NothrowMovableWrapper<TYPE *> bslalg::NothrowMovableUtil_Traits< TYPE, true >::WrappedType |