LiteFX::Enumerable::Enumerable¶
Initializes an enumerable from another enumerable with covariant elements, e.g. Enumerable<const Derived&> to Enumerable<const Base&>.
Synopsis¶
Declared in <litefx/containers.hpp>
template<typename TOther>
requires (!std::is_same_v<TOther, T> && is_covariant<TOther, T>)
Enumerable(Enumerable<TOther> other);Template Parameters¶
| Name | Description |
|---|---|
| TOther | The value type of the other enumerable. |
Parameters¶
| Name | Description |
|---|---|
| other | The other enumerable. |