Home
last modified time | relevance | path

Searched defs:hb_nonnull_ptr_t (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-null.hh177 struct hb_nonnull_ptr_t struct
181 hb_nonnull_ptr_t (T *v_ = nullptr) : v (v_) {} in hb_nonnull_ptr_t() argument
182 T * operator = (T *v_) { return v = v_; } in operator =()
183 T * operator -> () const { return get (); } in operator ->()
184 T & operator * () const { return *get (); } in operator *()
185 T ** operator & () const { return &v; } in operator &()
187 template <typename C> operator const C * () const { return get (); } in operator const C*()
188 operator const char * () const { return (const char *) get (); } in operator const char*()
189 T * get () const { return v ? v : const_cast<T *> (&Null (T)); } in get()
190 T * get_raw () const { return v; } in get_raw()
[all …]