| 91 | template <typename T> |
| 92 | struct smart_ptr_policy { |
| 93 | __forceinline static void addRef ( T * p ) { p->addRef(); } |
| 94 | __forceinline static bool delRef ( T * p ) { return p->delRef(); } |
| 95 | __forceinline static unsigned int use_count ( T * p ) { return p->use_count(); } |
| 96 | __forceinline static T & get_value ( T * p ) { |