Spec
PackedPairStores two arbitrary objects. Saves memory by disabling memory alignment.
Stores two arbitrary objects. Saves memory by disabling memory alignment.
Extends | Pair |
---|---|
All Extended | Pair |
All Impl'd | ComparableConcept, EqualityComparableConcept, LessThanComparableConcept |
Defined in | <seqan/basic.h> |
Signature |
template <typename T1, typename T2>
class Pair<T1, T2, Pack>;
|
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.
Memory access could be slower. Direct access to members by pointers is not allowed on all platforms.
Functions value() is not implemented yet since there it would require using a proxy. Use getValue(), assignValue(), moveValue(), setValue() instead.