CGAL 5.3 - STL Extensions for CGAL
CGAL::Threetuple< T > Class Template Reference

#include <CGAL/Threetuple.h>

Definition

Deprecated:
This class is deprecated, and will be removed in some future CGAL release.

Please use std::array instead.

The Threetuple class stores a homogeneous (same type) triple of objects of type T. A Threetuple 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.

Requirements

T must be Assignable.

Types

typedef T value_type
 

Variables

e0
 first element
 
e1
 second element
 
e2
 third element
 

Creation

 Threetuple ()
 introduces a Threetuple using the default constructor of the elements.
 
 Threetuple (T x, T y, T z)
 constructs a Threetuple such that e0 is constructed from x, e1 is constructed from y and e2 is constructed from z.