22 #ifndef MYTHSHAREDPTR_H 23 #define MYTHSHAREDPTR_H 25 #include "mythintrinsic.h" 50 if (c->Increment() < 2)
65 if (c->Increment() < 2)
74 #if __cplusplus >= 201103L 91 if (c->Decrement() == 0)
115 return (c != NULL) ? p : NULL;
128 unsigned use_count()
const 130 return (
unsigned) (c != NULL ? c->GetValue() : 0);
133 T *operator->()
const 143 operator bool()
const 148 bool operator!()
const
This is the main namespace that encloses all public classes.