[+] AuSharedPointerFromShared
This commit is contained in:
parent
e471890c0e
commit
46ae9729df
@ -266,6 +266,10 @@ struct AuStringOwnedException : AuStringException
|
|||||||
#define AuSharedPointerFromThis(pPtr) (AuSPtr<AuRemoveReference_t<decltype(*pPtr)>>(AuSharedFromThis(), pPtr))
|
#define AuSharedPointerFromThis(pPtr) (AuSPtr<AuRemoveReference_t<decltype(*pPtr)>>(AuSharedFromThis(), pPtr))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(AuSharedPointerFromShared)
|
||||||
|
#define AuSharedPointerFromShared(pPtr, pParentShared) (AuSPtr<AuRemoveReference_t<decltype(*pPtr)>>(pParentShared, pPtr))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define AU_EMIT_FIRST_COMMA_FIRST(n)n
|
#define AU_EMIT_FIRST_COMMA_FIRST(n)n
|
||||||
#define AU_EMIT_FIRST_COMMA_OTHERS(n),n
|
#define AU_EMIT_FIRST_COMMA_OTHERS(n),n
|
||||||
|
Loading…
Reference in New Issue
Block a user