MCRO
C++23 utilities for Unreal Engine.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Todo List
Struct Mcro::Any::FAny
C++ 26 has promising proposal for static value-based reflection, which can gather metadata from classes or even emit them. The best summary I found so far is a stack-overflow answer https://stackoverflow.com/a/77477029 Once that's available we can gather base classes in compile time, and do dynamic casting of objects without the need for intrusive extra syntax, or extra work at construction. Currently GCC's __bases would be perfect for the job, but other popular compilers don't have similar intrinsics. Once such a feature becomes widely available base classes can be automatically added as aliases for types wrapped in FAny.
Class Mcro::Composition::IComposable
C++ 26 has promising proposal for static value-based reflection, which can gather metadata from classes or even emit them. The best summary I found so far is a stack-overflow answer https://stackoverflow.com/a/77477029 Once that's available we can gather base classes in compile time, and do dynamic casting of objects without the need for intrusive extra syntax, or extra work at construction. Currently GCC's __bases would be perfect for the job, but other popular compilers don't have similar intrinsics. Once such a feature becomes widely available base classes can be automatically added as aliases for registered components.
Global Mcro::Delegates::InferDelegate::From (TMulticastDelegate< void(Args...)> &multicast)
Captures... and bound object
Global Mcro::Delegates::InferDelegate::From (Object &&self, TMulticastDelegate< void(Args...)> &multicast)
Captures... and bound object
Global Mcro::Delegates::InferDelegate::From (Dynamic &multicast)
Captures... and bound object
Global Mcro::Delegates::InferDelegate::From (Object &&self, Dynamic &multicast)
Captures... and bound object
Global Mcro::Error::FErrorManager::DisplayError (IErrorRef const &error, FDisplayErrorArgs const &args) -> TFuture< EDisplayErrorResult >
Add ability to let the user "ignore" errors, and continue execution, because they know better.
Struct Mcro::Rendering::Textures::TTextureSize< SizeType, InFormatType >
This may get generalized to other type of resources in the future.
Class Mcro::Types::IHaveType
C++ 26 has promising proposal for static value-based reflection, which can gather metadata from classes or even emit them. The best summary I found so far is a stack-overflow answer https://stackoverflow.com/a/77477029 Once that's available we can gather base classes in compile time, and do dynamic casting of objects without the need for intrusive extra syntax, or extra work at construction. Currently GCC's __bases would be perfect for the job, but other popular compilers don't have similar intrinsics.