TPlus

TPlus specifically takes const T& and returns T.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Algo/Accumulate.h

Include

#include "Algo/Accumulate.h"

Syntax

template<typename T>
struct TPlus

Remarks

TPlus<T> specifically takes const T& and returns T. TPlus<> (empty angle brackets) is late-binding, taking whatever is passed and returning the correct result type for (A+B)

Specializations

Operators

Name Description

Public function

T

 

operator()

(
    const T& A,
    const T& B
)

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