|
template<typename Arg , std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Descriptors > and std::is_constructible_v< NestedObject, Arg &&> and(not fixed_size_adapter< Arg >), int > = 0> |
constexpr | FixedSizeAdapter (Arg &&arg, const Descriptors &) |
| Construct from a compatible indexible object. More...
|
|
template<typename Arg , typename... Ds, std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Vs... > and(... and coordinates::pattern< Ds >) and std::is_same_v< std::tuple< Ds... >, Descriptors > and std::is_constructible_v< NestedObject, Arg &&> and(not fixed_size_adapter< Arg >), int > = 0> |
constexpr | FixedSizeAdapter (Arg &&arg, const Ds &...) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
template<typename Arg , std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Descriptors > and std::is_constructible_v< NestedObject, nested_object_of_t< Arg &&>> and fixed_size_adapter< Arg >, int > = 0> |
constexpr | FixedSizeAdapter (Arg &&arg, const Descriptors &...) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
template<typename Arg , typename... Ds, std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Vs... > and(... and coordinates::pattern< Ds >) and std::is_same_v< std::tuple< Ds... >, Descriptors > and std::is_constructible_v< NestedObject, nested_object_of_t< Arg &&>> and fixed_size_adapter< Arg >, int > = 0> |
constexpr | FixedSizeAdapter (Arg &&arg, const Ds &...) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
template<typename Arg , std::enable_if_t< compatible_with_vector_space_descriptor_collection< Arg, Descriptors > and std::is_assignable_v< std::add_lvalue_reference_t< NestedObject >, Arg &&>, int > = 0> |
constexpr FixedSizeAdapter & | operator= (Arg &&arg) |
| Assign from another compatible indexible object.
|
|
decltype(auto) constexpr | nested_object () const & |
| Get the nested object.
|
|
decltype(auto) constexpr | nested_object () const && |
|
constexpr | AdapterBase () |
| Default constructor.
|
|
constexpr | AdapterBase (Arg &&arg, typename std::enable_if< std::is_constructible< const NestedObject, Arg && >::value >::type *=0) |
| Construct from a compatible indexible type.
|
|
constexpr const NestedObject & | nested_object () & |
| Get the nested object.
|
|
constexpr const const NestedObject & | nested_object () const & |
|
constexpr const NestedObject && | nested_object () && |
|
constexpr const const NestedObject && | nested_object () const && |
|
constexpr auto | operator[] (const Indices &indices) & |
| Access a component at a set of indices. More...
|
|
constexpr auto | operator[] (const Indices &indices) && |
|
constexpr auto | operator[] (const Indices &indices) const & |
|
constexpr auto | operator[] (const Indices &indices) const && |
|
template<typename NestedObject, typename Descriptors>
template<typename Arg , std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Descriptors > and std::is_constructible_v< NestedObject, Arg &&> and(not fixed_size_adapter< Arg >), int > = 0>
Construct from a compatible indexible object.
- Template Parameters
-
Arg | An indexible object |
D | A compatible pattern_collection |
template<typename NestedObject, typename Descriptors>
template<typename Arg , typename... Ds, std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Vs... > and(... and coordinates::pattern< Ds >) and std::is_same_v< std::tuple< Ds... >, Descriptors > and std::is_constructible_v< NestedObject, Arg &&> and(not fixed_size_adapter< Arg >), int > = 0>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Template Parameters
-
Ds | A set of optional coordinates::pattern objects, which if included must be compatible with those of the FixedSizeAdapter |
template<typename NestedObject, typename Descriptors>
template<typename Arg , std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Descriptors > and std::is_constructible_v< NestedObject, nested_object_of_t< Arg &&>> and fixed_size_adapter< Arg >, int > = 0>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Construct from another FixedSizeAdapter.
template<typename NestedObject, typename Descriptors>
template<typename Arg , typename... Ds, std::enable_if_t< compatible_with_vector_space_descriptors< Arg, Vs... > and(... and coordinates::pattern< Ds >) and std::is_same_v< std::tuple< Ds... >, Descriptors > and std::is_constructible_v< NestedObject, nested_object_of_t< Arg &&>> and fixed_size_adapter< Arg >, int > = 0>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Construct from another FixedSizeAdapter.
- Template Parameters
-
Arg | A fixed_size_adapter |
Ds | A set of optional coordinates::pattern objects, which if included must be compatible with those of the FixedSizeAdapter |