Class for computing the metadata of static_array container that uses container_manager_static that inherits from the base-container, and thus, is the base-container itself. This type of container manager has only one component per location.
More...
|
template<typename Container > |
return_type | operator() (Container *container) |
| Return the metadata of specified container. More...
|
|
return_type | operator() (Distribution *dist) |
| Return the metadata of specified distribution. More...
|
|
template<typename Distribution>
struct stapl::static_array_metadata< Distribution >
Class for computing the metadata of static_array container that uses container_manager_static that inherits from the base-container, and thus, is the base-container itself. This type of container manager has only one component per location.
- Template Parameters
-
Distribution | Type of the Distribution. |
- Note
- this is different from the static_container_extractor primarily due to the metadata used. This class uses the metadata_container_wrapper whereas the static_metadata uses the metadata::flat_container.
◆ operator()() [1/2]
template<typename Distribution >
template<typename Container >
Return the metadata of specified container.
- See also
- metadata_entry.
- Parameters
-
cont | A pointer to the container. |
Calls the operator on the distribution of the provided container.
- Returns
- a pair indicating if the metadata container is static and balance distributed and a pointer to the metadata container.
◆ operator()() [2/2]
template<typename Distribution >
Return the metadata of specified distribution.
- See also
- metadata_entry.
- Parameters
-
dist | A pointer to the distribution. |
- Returns
- a pair indicating if the metadata container is static and balance distributed and a pointer to the metadata container.
The documentation for this struct was generated from the following file:
- static_array_metadata.hpp