BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlc::PackedIntArrayImpType< TYPE > Struct Template Reference

#include <bdlc_packedintarray.h>

Public Types

typedef bsl::conditional< bsl::is_same< TYPE, unsignedchar >::value||bsl::is_same< TYPE, unsignedshort >::value||bsl::is_same< TYPE, unsignedint >::value||bsl::is_same< TYPE, unsignedlongint >::value||bsl::is_same< TYPE, bsls::Types::Uint64 >::value||bsl::is_same< TYPE, bsl::uint8_t >::value||bsl::is_same< TYPE, bsl::uint16_t >::value||bsl::is_same< TYPE, bsl::uint32_t >::value||bsl::is_same< TYPE, bsl::uint64_t >::value, PackedIntArrayImp< PackedIntArrayImp_Unsigned >, PackedIntArrayImp< PackedIntArrayImp_Signed > >::type Type
 

Detailed Description

template<class TYPE>
struct bdlc::PackedIntArrayImpType< TYPE >

This meta-function selects PackedIntArrayImp<PackedIntArrayImp_Unsigned> if TYPE should be stored as an unsigned integer, and PackedIntArrayImp<PackedIntArrayImp_Signed> otherwise.

Member Typedef Documentation

◆ Type

template<class TYPE >
typedef bsl::conditional<bsl::is_same<TYPE,unsignedchar>::value||bsl::is_same<TYPE,unsignedshort>::value||bsl::is_same<TYPE,unsignedint>::value||bsl::is_same<TYPE,unsignedlongint>::value||bsl::is_same<TYPE,bsls::Types::Uint64>::value||bsl::is_same<TYPE,bsl::uint8_t>::value||bsl::is_same<TYPE,bsl::uint16_t>::value||bsl::is_same<TYPE,bsl::uint32_t>::value||bsl::is_same<TYPE,bsl::uint64_t>::value,PackedIntArrayImp<PackedIntArrayImp_Unsigned>,PackedIntArrayImp<PackedIntArrayImp_Signed>>::type bdlc::PackedIntArrayImpType< TYPE >::Type

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