ConstructItems

Constructs a range of items into memory from a set of arguments.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h

Include

#include "Templates/MemoryOps.h"

Syntax

template<typename DestinationElementType, typename SourceElementType, typename SizeType>
void ConstructItems
(
    void * Dest,
    const SourceElementType * Source,
    SizeType Count
)

Remarks

Constructs a range of items into memory from a set of arguments. The arguments come from an another array.

Parameters

Parameter

Description

Dest

The memory location to start copying into.

Source

A pointer to the first argument to pass to the constructor.

Count

The number of elements to copy.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss