Refines

Helper function which can be used as an expression in a concept to refine ('inherit') another concept.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/Models.h"

Syntax

template<typename Concept, typename... Args>
auto Refines()

Remarks

Helper function which can be used as an expression in a concept to refine ('inherit') another concept. It should be used as expression-based variant of the TModels traits class. If the arguments model the given concept, Refines is a valid expression, otherwise it is not.

See the CCopyablePointer example below.

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