![]() |
MCRO
C++23 utilities for Unreal Engine.
|
Render a range as the given container. More...
#include <Conversion.h>
Public Member Functions | |
RenderAs () | |
template<CRangeMember From> | |
auto | Render (From &&range) const |
Friends | |
template<CRangeMember From> | |
auto | operator| (From &&range, RenderAs &&functor) |
Render a range as the given container.
This functor will iterate over the entire input range and copy its values to the newly created container one-by-one with its Add
function. If you want a more optimised way to do that use OutputTo
where you can supply your own container as an l-value.
usage:
Target | An Unreal container template which has a public function member Add , the element-type of which will be deduced from the input left side range. |
Definition at line 273 of file Conversion.h.
|
inline |
Definition at line 286 of file Conversion.h.
|
inline |
Definition at line 295 of file Conversion.h.
|
friend |
Definition at line 289 of file Conversion.h.