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

#include <CGAL/Fourtuple.h>

Definition

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

The Fourtuple class stores a homogeneous (same type) fourtuple of objects of type T. A Fourtuple 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
Tmust be Assignable.

Types

typedef T value_type
 

Variables

e0
 first element More...
 
e1
 second element More...
 
e2
 third element More...
 
e3
 fourth element More...
 

Creation

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

Member Typedef Documentation

◆ value_type

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

Constructor & Destructor Documentation

◆ Fourtuple() [1/2]

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

introduces a Fourtuple using the default constructor of the elements.

◆ Fourtuple() [2/2]

template<typename T >
CGAL::Fourtuple< T >::Fourtuple ( x,
y,
z,
t 
)

constructs a Fourtuple such that e0 is constructed from x, e1 from y, e2 from z and e3 from t.

Member Data Documentation

◆ e0

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

first element

◆ e1

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

second element

◆ e2

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

third element

◆ e3

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

fourth element