UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ConvertibleTo.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include <type_traits>
6
7
namespace
UE
8
{
9
15
template
<
typename
From,
typename
To>
16
concept
CConvertibleTo
= std::is_convertible_v<From, To> &&
requires
{
static_cast<
To
>
(std::declval<From>()); };
17
18
}
// UE
UE::CConvertibleTo
Definition
ConvertibleTo.h:16
UE
Definition
AdvancedWidgetsModule.cpp:13
Engine
Source
Runtime
Core
Public
Concepts
ConvertibleTo.h
Generated by
1.9.8