13 #ifndef STXXL_COMMON_TUPLE_HEADER
14 #define STXXL_COMMON_TUPLE_HEADER
201 return first == t.
first;
207 return !(first == t.
first);
213 return os <<
'(' << t.
first <<
')';
230 template <
class T1,
class T2>
277 return os <<
'(' << t.
first <<
',' << t.
second <<
')';
444 <<
',' << t.
fourth <<
')';
576 template <
typename TupleType>
583 return (a.first < b.first);
590 template <
typename TupleType>
597 return (a.first > b.first);
604 template <
typename TupleType>
611 if (a.first == b.first)
612 return (a.second < b.second);
613 return (a.first < b.first);
620 template <
typename TupleType>
627 return (a.second < b.second);
639 template <
class ValueType>
674 template <
class StreamA,
class StreamB>
710 else if (!B.empty()) {
719 return (A.empty() && B.empty());
727 #endif // !STXXL_COMMON_TUPLE_HEADER
static tuple max_value()
Return maximum value of tuple using numeric_limits.
T2 second_type
Second tuple component type.
static tuple max_value()
Return maximum value of tuple using numeric_limits.
first_type first
First tuple component.
static value_type min_value()
T5 fifth_type
Fifth tuple component type.
friend std::ostream & operator<<(std::ostream &os, const uint_pair &a)
make a uint_pair outputtable via iostreams, using unsigned long long.
counter(const value_type &start=0)
second_type second
Second tuple component.
second_type second
Second tuple component.
T6 sixth_type
Sixth tuple component type.
T4 fourth_type
Fourth tuple component type.
tuple()
Empty constructor.
second_type second
Second tuple component.
StreamA::value_type value_type
static value_type max_value()
IF< I==1, first_type, void >::result result
tuple()
Empty constructor.
static tuple max_value()
Return maximum value of tuple using numeric_limits.
tuple()
Empty constructor.
T2 second_type
Second tuple component type.
T1 first_type
First tuple component type.
tuple(first_type _first, second_type _second, third_type _third, fourth_type _fourth)
Construct tuple from components.
static uint_pair min()
return an uint_pair instance containing the smallest value possible
third_type third
Third tuple component.
tuple()
Empty constructor.
static tuple min_value()
Return minimum value of tuple using numeric_limits.
tuple(first_type first_, second_type second_)
Initializing constructor.
first_type first
First tuple component.
T4 fourth_type
Fourth tuple component type.
uint_pair & operator++()
prefix increment operator (directly manipulates the integer parts)
T1 first_type
First tuple component type.
static tuple min_value()
Return minimum value of tuple using numeric_limits.
fourth_type fourth
Fourth tuple component.
T3 third_type
Third tuple component type.
static value_type max_value()
second_type second
Second tuple component.
T1 first_type
First tuple component type.
fifth_type fifth
Fifth tuple component.
bool operator!=(const uint_pair &b) const
inequality checking operator
third_type third
Third tuple component.
third_type third
Third tuple component.
first_type first
First tuple component.
static value_type min_value()
static value_type min_value()
static tuple min_value()
Return minimum value of tuple using numeric_limits.
T2 second_type
Second tuple component type.
tuple(first_type first_)
Initializing constructor.
second_type second
Second tuple component.
#define STXXL_BEGIN_NAMESPACE
static tuple min_value()
Return minimum value of tuple using numeric_limits.
SWITCH< I, CASE< 1, first_type, CASE< 2, second_type, CASE< 3, third_type, CASE< 4, fourth_type, CASE< 5, fifth_type, CASE< DEFAULT, void > > > > > > >::result result
SWITCH< I, CASE< 1, first_type, CASE< 2, second_type, CASE< 3, second_type, CASE< DEFAULT, void > > > > >::result result
T1 first_type
First tuple component type.
T3 third_type
Third tuple component type.
static uint_pair max()
return an uint_pair instance containing the largest value possible
static tuple max_value()
Return maximum value of tuple using numeric_limits.
tuple()
Empty constructor.
static tuple max_value()
Return maximum value of tuple using numeric_limits.
first_type first
First tuple component.
third_type third
Third tuple component.
static value_type min_value()
fifth_type fifth
Fifth tuple component.
tuple(first_type _first, second_type _second, third_type _third, fourth_type _fourth, fifth_type _fifth, sixth_type _sixth)
Construct tuple from components.
T1 first_type
First tuple component type.
T3 third_type
Third tuple component type.
T4 fourth_type
Fourth tuple component type.
sixth_type sixth
Sixth tuple component.
T2 second_type
Second tuple component type.
T1 first_type
First tuple component type.
static value_type max_value()
tuple()
Empty constructor.
tuple(first_type _first, second_type _second, third_type _third, fourth_type _fourth, fifth_type _fifth)
Construct tuple from components.
static value_type max_value()
SWITCH< I, CASE< 1, first_type, CASE< 2, second_type, CASE< 3, third_type, CASE< 4, fourth_type, CASE< 5, fifth_type, CASE< 6, sixth_type, CASE< DEFAULT, void > > > > > > > >::result result
T2 second_type
Second tuple component type.
T3 third_type
Third tuple component type.
first_type first
First tuple component.
static tuple max_value()
Return maximum value of tuple using numeric_limits.
fourth_type fourth
Fourth tuple component.
T5 fifth_type
Fifth tuple component type.
first_type first
First tuple component.
SWITCH< I, CASE< 1, first_type, CASE< 2, second_type, CASE< DEFAULT, void > > > >::result result
fourth_type fourth
Fourth tuple component.
SWITCH< I, CASE< 1, first_type, CASE< 2, second_type, CASE< 3, third_type, CASE< 4, fourth_type, CASE< DEFAULT, void > > > > > >::result result
tuple(first_type _first, second_type _second, third_type _third)
Construct tuple from components.
static tuple min_value()
Return minimum value of tuple using numeric_limits.
bool operator==(const uint_pair &b) const
equality checking operator
#define STXXL_END_NAMESPACE
concatenate(StreamA &A_, StreamB &B_)
static tuple min_value()
Return minimum value of tuple using numeric_limits.