A wrapper that constructs a new container type from ContainerType
using as arguments the types in TypeSet
.
More...
#include <Morpheus_ContainerFactory.hpp>
|
using | proxy = typename Impl::UnaryContainerProxy< ContainerType, TypeSet > |
|
using | type = typename proxy::type |
|
using | value_type = typename proxy::value_type |
|
using | index_type = typename proxy::index_type |
|
using | array_layout = typename proxy::array_layout |
|
using | backend = typename proxy::backend |
|
template<typename ContainerType, typename TypeSet>
struct Morpheus::UnaryContainer< ContainerType, TypeSet >
A wrapper that constructs a new container type from ContainerType
using as arguments the types in TypeSet
.
- Overview
- A wrapper that constructs a container type from a set of Type parameters. In the case where a template argument is passed as a
Default
this is ignored and not passed in the definition of the type.
- Template Parameters
-
ContainerType | The container type from which the new type will be generated from. |
TypeSet | A Set of types. |
- Example
#include <Morpheus_Core.hpp>
int main(){
std::cout << std::is_same<Container, res>::value << std::endl;
}
The DenseVector container is a one-dimensional container that contains contiguous elements....
Definition: Morpheus_DenseVector.hpp:83
A Default tag is used to denote the use of default types.
Definition: Morpheus_ContainerFactory.hpp:44
Compile-time set.
Definition: Morpheus_Metaprogramming.hpp:57
A wrapper that constructs a new container type from ContainerType using as arguments the types in Typ...
Definition: Morpheus_ContainerFactory.hpp:125
The documentation for this struct was generated from the following file: