![]() |
MCRO
C++23 utilities for Unreal Engine.
|
Render a range to an already existing container. More...
#include <Conversion.h>
Public Member Functions | |
OutputTo (Target &target) | |
Friends | |
template<CRangeMember From> | |
Target & | operator| (From &&range, OutputTo &&functor) |
Render a range to an already existing container.
This functor will iterate over the entire input range and copy its values to the given container one-by-one. Target container must expose iterators which allows modifying its content. If the input range has more items than the target container current size, then start using its Add
function.
usage:
Target | An Unreal container which has a public function member Add , the element-type of which will be deduced from the target output container. |
Definition at line 326 of file Conversion.h.
|
inline |
Definition at line 349 of file Conversion.h.
|
friend |
Definition at line 352 of file Conversion.h.