Algorithmic Solutions > LEDA > LEDA Guide> Simple, Basic, and Advanced Data Types > Simple Data Types > Tuples

Two Tuples, Three Tuples, and Four Tuples

These data types represent pairs, triples, and quadruples of arbitrary types.

Example

#include <LEDA/core/tuple.h>
#include <LEDA/core/string.h>

using namespace leda;

int main()
{
  three_tuple<int,string,double> triple(17,"triple",3.1413);
  std::cout << triple << std::endl;
  return 0;
}

Manual Entries:

Manual Page Two Tuples

Manual Page Three Tuples

Manual Page Four Tuples

User Defined Parameter Types




Please send any suggestions, comments or questions to leda@algorithmic-solutions.com
© Copyright 2001-2003, Algorithmic Solutions Software GmbH