#include <mac_cfhelpers.h>
Reference for a ObjC object which was created (and hence implicitely retained). The object will released when the NSStrongRef will be destructed.
Private Types | |
using | Super = BaseRef< T, NSCreatedPointerHandler > |
|
private |
|
default |
MAXON_IMPLICIT NSStrongRef | ( | T * | o | ) |
Assignment of an already retained object (returned by a alloc, new or copy method). Objects which are returned by other methods have to be retained before assigning them to a NSStrongRef. See https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmRules.html#//apple_ref/doc/uid/20000994-BAJHFBGH.
|
default |
|
default |
NSStrongRef& operator= | ( | T * | src | ) |
Assignment of an already retained object (returned by a alloc, new or copy method). Objects which are returned by other methods have to be retained before assigning them to a NSStrongRef. See https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmRules.html#//apple_ref/doc/uid/20000994-BAJHFBGH.
|
default |
|
default |
NSStrongRef& operator= | ( | std::nullptr_t | src | ) |