CGAL 4.14.3 - STL Extensions for CGAL
|
#include <CGAL/array.h>
An object of the class cpp11::array
represents an array of elements of type T
, the number of which is specified by the second template argument.
There is actually no class in namespace CGAL::cpp11
with this name, but a using declaration which imports a class from another namespace. By order of priority: the one in namespace std
is used (provided by C++0x), if not found, then the one in namespace std::tr1
is used (provided by TR1), and finally, the fallback solution is taken from Boost.
Parameters
The parameter T
is the value type. The second parameter is the dimension of the array.
Extensions
CGAL provides a make_array
function for this purpose, up to a certain number of arguments.
Related Functions | |
(Note that these are not member functions.) | |
template<class T > | |
cpp11::array< T, N > | make_array (const T &...) |
|
related |
cpp11::array<T, N>
where N
is the number of arguments given to the function. The position of each argument in the array is the same as its position in the argument list.The maximal number of arguments is 6
.