Lines Matching refs:NST
44 template <typename NST>
46 static NST InvalidValue() { return nil; }
47 static NST Retain(NST nst) { return [nst retain]; }
48 static void Release(NST nst) { [nst release]; }
53 template <typename NST>
55 : public ScopedTypeRef<NST, internal::ScopedNSProtocolTraits<NST>> {
57 using ScopedTypeRef<NST,
58 internal::ScopedNSProtocolTraits<NST>>::ScopedTypeRef;
61 NST autorelease() { return [this->release() autorelease]; }
80 template <typename NST>
81 class scoped_nsobject : public scoped_nsprotocol<NST*> {
83 using scoped_nsprotocol<NST*>::scoped_nsprotocol;
85 static_assert(std::is_same<NST, NSAutoreleasePool>::value == false,