TWriteToString

A function-like type that creates a TStringBuilder by appending its arguments.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/StringBuilder.h

Include

#include "Misc/StringBuilder.h"

Syntax

template<typename CharType, int32 BufferSize>
class TWriteToString : public TStringBuilderWithBuffer< CharType, BufferSize >

Remarks

A function-like type that creates a TStringBuilder by appending its arguments.

Example Use Cases:

For void Action(FStringView) -> Action(WriteToString<64>(Arg1, Arg2)); For UE_LOG or checkf -> checkf(Condition, TEXT("%s"), *WriteToString<32>(Arg));

Constructors

Name Description

Public function

TWriteToString

(
    ArgTypes&&... Args
)