CGAL 5.1 - STL Extensions for CGAL
CGAL::Sixtuple< T > Class Template Reference

#include <CGAL/Sixtuple.h>

Definition

template<typename T>
class CGAL::Sixtuple< T >

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

Deprecated:
This class is deprecated, and will be removed in some future CGAL release. Please use std::array instead.
Template Parameters
<tt>T</tt>must be Assignable.

Types

typedef T value_type
 

Variables

e0
 first element More...
 
e1
 second element More...
 
e2
 third element More...
 
e3
 fourth element More...
 
e4
 fifth element More...
 
e5
 sixth element More...
 

Creation

 Sixtuple ()
 introduces a Sixtuple using the default constructor of the elements. More...
 
 Sixtuple (T x, T y, T z, T t, T u, T v)
 constructs a Sixtuple such that e0 is constructed from x, e1 from y, e2 from z, e3 from t, e4 from u and e5 from v. More...
 

Member Typedef Documentation

◆ value_type

template<typename T >
typedef T CGAL::Sixtuple< T >::value_type

Constructor & Destructor Documentation

◆ Sixtuple() [1/2]

template<typename T >
CGAL::Sixtuple< T >::Sixtuple ( )

introduces a Sixtuple using the default constructor of the elements.

◆ Sixtuple() [2/2]

template<typename T >
CGAL::Sixtuple< T >::Sixtuple ( x,
y,
z,
t,
u,
v 
)

constructs a Sixtuple such that e0 is constructed from x, e1 from y, e2 from z, e3 from t, e4 from u and e5 from v.

Member Data Documentation

◆ e0

template<typename T >
T CGAL::Sixtuple< T >::e0

first element

◆ e1

template<typename T >
T CGAL::Sixtuple< T >::e1

second element

◆ e2

template<typename T >
T CGAL::Sixtuple< T >::e2

third element

◆ e3

template<typename T >
T CGAL::Sixtuple< T >::e3

fourth element

◆ e4

template<typename T >
T CGAL::Sixtuple< T >::e4

fifth element

◆ e5

template<typename T >
T CGAL::Sixtuple< T >::e5

sixth element