|
| counting_container (size_type size, T init) |
|
distribution_type * | get_distribution (void) |
|
distribution_type & | distribution (void) |
|
value_type | get_element (gid_type const &index) const |
|
reference | operator[] (gid_type const &index) |
|
template<typename F > |
F::result_type | apply_get (gid_type const &index, F const &f) |
| Applies the provided function the the value referenced for the given index returning the resulting value. More...
|
|
reference | make_reference (gid_type const &index) |
| Returns a reference to the element indexed. More...
|
|
template<typename... Indices> |
reference | make_reference (Indices... indices) |
|
size_type | size (void) const |
|
domain_type const & | domain (void) const |
|
locality_info | locality (gid_type const &) const |
|
location_type | get_location_id (void) const noexcept |
| Returns the location id of the counting_container_distribution.
|
|
dimensions_type | dimensions (void) const |
|
|
using | value_type = T |
|
using | reference = proxy< T, trivial_accessor< T > > |
|
using | const_reference = reference |
|
using | distribution_type = typename compute_distribution< T, N, Policy >::type |
|
using | partition_type = typename distribution_type::partition_type |
|
using | domain_type = typename distribution_type::domain_type |
|
using | dimension_type = typename dimension_traits< domain_type >::type |
|
using | dimensions_type = typename domain_type::dimensions_type |
|
using | index_type = typename domain_type::index_type |
|
using | gid_type = index_type |
|
using | cid_type = typename distribution_type::cid_type |
|
using | size_type = typename domain_type::size_type |
|
using | loc_dist_metadata = typename compute_distribution< T, N, Policy >::loc_dist_metadata |
|
typedef std::true_type | task_placement_dontcare |
|
template<typename T, int N, typename Policy>
struct stapl::view_impl::counting_container< T, N, Policy >
Container that represents an increasing sequence of elements.
- Template Parameters
-
T | element type |
N | The dimensionality of the container. |