boost::multi::unique_array
Synopsis
Declared in <boost/multi/array.hpp>
template<
typename T,
boost::multi::dimensionality_type D,
class Alloc>
class unique_array
: public dynamic_array<T, D, Alloc>
Base Classes
Name |
Description |
A |
Type Aliases
Name |
Description |
Allocator type (returned by |
|
Indexable const‐cursor, pointer‐like objects that mutidimensioally indexable (type usually returned by |
|
Random‐access iterator in the leading dimension, in general they dereference to an immutable subarrays of lower dimension ( |
|
For |
|
Subarray immutable reference after binding first index, |
|
Indexable cursor, pointer‐like objects that mutidimensioally indexable (type usually returned by |
|
Associalted array value type (generally itself, |
|
Integer type to store dimensionality information (e.g. 1D, 2D, 3D) |
|
Element type ( |
|
The pointer type to a constant element ( |
|
|
|
Pointer‐like type that produces an moved element (r‐value) |
|
Pointer to element type (usually |
|
Reference type to an element (usually |
|
|
(deprecated, use |
|
(deprecated) use |
A type to store the extent of an array (the range of valid indices in the leading dimension), returned from |
|
A type that stores the extents of the array or subarray (returned from |
|
Type to store an index in the leading dimension |
|
Type that represents a range of indicies |
|
A tuple type that allows storing |
|
Random‐access iterator in the leading dimension, in general they dereference to a subarray of lower dimension ( |
|
Layout type (generally a strided layout |
|
Iterator in the leading dimension that mark elements as movable |
|
For |
|
Subarray reference after binding first index, |
|
A type to hold the size of an array or subarray (size in the leading dimension) (usually signed) |
|
The value type associated after binding the first index (generally |
Member Functions
Name |
Description |
|
Constructors |
|
Destructor |
Copy assignment from |
|
When evaluated on a tuple object this is equivalent to |
|
Returns a const‐element view of the subarray, preventing modification of elements. |
|
Returns an immutable reference to the back element. |
|
|
|
returns an iterator to the beginning |
|
Returns the base const‐pointer of the array (arithmetic base of the layout, generally the first element) |
|
returns an const‐iterator to the beginning |
|
returns an const‐iterator to the end |
|
produces a subarray of higher dimension by chunking in the leading dimension (if |
|
creates a view of the array with element references with const‐removed |
|
for |
|
|
|
materializes an independent, owning |
|
Subarray of lower dimension that represents the main diagonal of a square array |
|
Gives a subarray dropping the first |
|
A an array view in which elementes references are r‐values |
|
a view with the elements transformed |
|
returns a random‐access range with all the elements of the array |
|
returns an iterator to the end |
|
|
Deprecated, prefer |
Returns the index extensions (structured cartesian product of half‐open ranges) for all dimensions as an |
|
Returns an immutable reference to the front element. |
|
returns the allocator that is used to acquire/release memory and to construct/destroy the elements in that memory |
|
returns a cursor pointing to the top corner element of the array |
|
returns the internal layout information of the array |
|
returns the maximum number of elements that the vector can hold. |
|
returns an move‐iterator (moves on dereference) to the beginning in the leading dimension |
|
returns an move‐iterator (moves on dereference) to the ending in the leading dimension |
|
Delete operator |
|
New operators |
|
Address‐of operators |
|
Returns a subarray of the same dimension |
|
Materializes an independent, owning |
|
Subscript operators |
|
|
|
yields a subarray of higher dimension by splitting the leading dimension into |
|
|
|
|
|
A subarray‐view from index |
|
A subarray‐view of the array with skipping |
|
A transpose view , that exchanges the first two indices |
|
Conversion to |
|
Conversion operators |
|
Conversion to |
|
Conversion to |
|
Conversion to |
|
Equality operator |
|
Inequality operator |
|
Less‐than operator |
|
Less‐than‐or‐equal operator |
|
Greater‐than operator |
Static Member Functions
Name |
|
Protected Type Aliases
Name |
Description |
Associated array reference type, also its base class (generally |