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
7namespace UE
8{
9
15template <typename From, typename To>
16concept CConvertibleTo = std::is_convertible_v<From, To> && requires { static_cast<To>(std::declval<From>()); };
17
18} // UE
Definition ConvertibleTo.h:16
Definition AdvancedWidgetsModule.cpp:13