The Fourtuple<T> class stores a homogeneous (same type) fourtuple of objects of type T. A Fourtuple<T> is much like a container, in that it "owns" its elements. It is not actually a model of container, though, because it does not support the standard methods (such as iterators) for accessing the elements of a container.

This class is DEPRECATED, and will be removed in some future CGAL release. Please use CGAL::array instead.

#include <CGAL/Fourtuple.h>


T must be Assignable.


typedef T value_type;


T e0; first element
T e1; second element
T e2; third element
T e3; fourth element


Fourtuple<T> t;
introduces a Fourtuple<T> using the default constructor of the elements.

Fourtuple<T> t ( T x, T y, T z, T t);
constructs a Fourtuple<T> such that e0 is constructed from x, e1 from y, e2 from z and e3 from t.