Quick Links:

bal | bbl | bdl | bsl

Public Types

bslalg::NothrowMovableUtil_Traits< TYPE, true > Struct Template Reference

#include <bslalg_nothrowmovableutil.h>

List of all members.

Public Types

typedef bsl::false_type IsWrapped
typedef TYPE * UnwrappedType
typedef NothrowMovableWrapper
< TYPE * > 
WrappedType

Detailed Description

template<class TYPE>
struct bslalg::NothrowMovableUtil_Traits< TYPE, true >

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


Member Typedef Documentation

template<class TYPE >
typedef bsl::false_type bslalg::NothrowMovableUtil_Traits< TYPE, true >::IsWrapped
template<class TYPE >
typedef TYPE* bslalg::NothrowMovableUtil_Traits< TYPE, true >::UnwrappedType
template<class TYPE >
typedef NothrowMovableWrapper<TYPE *> bslalg::NothrowMovableUtil_Traits< TYPE, true >::WrappedType

The documentation for this struct was generated from the following file: