[+] Added AU_WEAK_FROM_THIS
This commit is contained in:
parent
687d1aaf06
commit
718375b236
@ -12,6 +12,7 @@
|
||||
#define AU_NO_COPY_NO_MOVE(type) AU_NO_COPY(type) AU_NO_MOVE(type)
|
||||
|
||||
#define AU_SHARED_FROM_THIS (std::static_pointer_cast<std::remove_pointer_t<decltype(this)>>(this->shared_from_this()))
|
||||
#define AU_WEAK_FROM_THIS (AuWPtr<std::remove_pointer_t<decltype(this)>>(std::static_pointer_cast<std::remove_pointer_t<decltype(this)>>(this->shared_from_this())))
|
||||
|
||||
#define AU_STRINGIFY_(in) #in
|
||||
#define AU_STRINGIFY(in) AU_STRINGIFY_(in)
|
||||
|
Loading…
Reference in New Issue
Block a user