19#include <AUI/Common/SharedPtrTypes.h>
20#include <AUI/Reflect/AReflect.h>
21#include <AUI/Common/AString.h>
48 if constexpr (std::is_base_of_v<IStringable, std::decay_t<T>>) {
51 if (
auto stringable =
dynamic_cast<const IStringable*
>(t)) {
52 return stringable->toString();
54 return AReflect::name(t);
Represents a Unicode character string.
Definition: AString.h:37
Object that can be converted to string.
Definition: IStringable.h:29
static AString toString(const T *t)
Definition: IStringable.h:43
virtual AString toString() const =0
static AString toString(const _< T > &t)
Definition: IStringable.h:64
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177