Lines Matching refs:m_ptr
60 operator bool (void) const { return !!m_ptr; }
63 T* m_ptr;
86 : m_ptr (nullptr)
92 : m_ptr (nullptr)
99 if (m_ptr)
100 m_ptr->~T();
105 : m_ptr (nullptr)
107 m_ptr = new(m_data)T(val);
113 if (m_ptr)
114 m_ptr->~T();
116 m_ptr = new(m_data)T(val);
123 : m_ptr (nullptr)
125 if (other.m_ptr)
126 m_ptr = new(m_data)T(*other.m_ptr);
135 if (m_ptr)
136 m_ptr->~T();
138 if (other.m_ptr)
139 m_ptr = new(m_data)T(*other.m_ptr);
141 m_ptr = nullptr;
149 DE_ASSERT(m_ptr);
150 return m_ptr;
156 DE_ASSERT(m_ptr);
157 return m_ptr;
163 DE_ASSERT(m_ptr);
164 return *m_ptr;
170 DE_ASSERT(m_ptr);
171 return *m_ptr;