![]() |
MCRO
C++23 utilities for Unreal Engine.
|
This header exists because STL headers in Android doesn't define STL concepts (other than same_as which is weird), despite the fact that in <concepts> the synopsis contains all of them (but only as a comment).
More...
#include <type_traits>#include "CoreMinimal.h"#include "Templates/Casts.h"#include "UObject/Interface.h"#include "Mcro/Macros.h"Go to the source code of this file.
Data Structures | |
| struct | Mcro::Concepts::Detail::TExtractClassName< MemberType ClassType::* > |
Namespaces | |
| namespace | Mcro |
| namespace | Mcro::Concepts |
| namespace | Mcro::Concepts::Detail |
Macros | |
| #define | MCRO_THIS_TYPE decltype(Mcro::Concepts::DecayPtr(this)) |
Typedefs | |
| template<typename MemberPointer > | |
| using | Mcro::Concepts::Detail::TExtractedClassName = typename TExtractClassName<std::decay_t<MemberPointer>>::Type |
Functions | |
| template<CValidable T> | |
| bool | Mcro::Concepts::TestValid (T &&input) |
| Attempt to test the input object validity through various methods. | |
| template<typename T > | |
| T | Mcro::Concepts::DecayPtr (T *) |
This header exists because STL headers in Android doesn't define STL concepts (other than same_as which is weird), despite the fact that in <concepts> the synopsis contains all of them (but only as a comment).
However, <type_traits> seems to be implemented properly so many concepts here will be just encapsulating equivalent type traits (like CConstType = std::is_const_v<T>). Using MSVC implementation as reference
Definition in file Concepts.h.
| #define MCRO_THIS_TYPE decltype(Mcro::Concepts::DecayPtr(this)) |
Definition at line 35 of file Concepts.h.