Spec
BitPackedPairStores two arbitrary objects. Saves memory by packing bits with bit fields.
Stores two arbitrary objects. Saves memory by packing bits with bit fields.
Extends | Pair |
---|---|
All Extended | Pair |
All Impl'd | ComparableConcept, EqualityComparableConcept, LessThanComparableConcept |
Defined in | <seqan/basic.h> |
Signature |
template <typename T1, typename T2, unsigned BITSIZE1, unsigned BITSIZE2>
class Pass;
|
Template Parameters
T1 |
Type of first entry. |
---|---|
T2 |
Type of second entry. |
BITSIZE1 |
Number of bits to store for T1. |
BITSIZE2 |
Number of bits to store for T2. |
Member Function Overview
Member Functions Inherited From ComparableConcept
Member Functions Inherited From EqualityComparableConcept
Member Functions Inherited From LessThanComparableConcept
Interface Function Overview
Interface Functions Inherited From Pair
Interface Functions Inherited From ComparableConcept
Detailed Description
Useful for external storage.
Remarks
Memory access could be slower. Direct access to members by pointers is not allowed.
Functions value() is not implemented yet since there it would require using a proxy. Use getValue(), assignValue(), moveValue(), setValue() instead.