get bare pointer (caution!)
| 73 | |
| 74 | //get bare pointer (caution!) |
| 75 | T* get() const { |
| 76 | return ptr; |
| 77 | } |
| 78 | |
| 79 | /*template<typename U> |
| 80 | explicit operator typename std::enable_if<std::is_base_of<U,T>::value, const Ref<U>&>::type() const { |
no outgoing calls