MCPcopy Create free account
hub / github.com/Snapchat/djinni / dataptr

Method dataptr

test-suite/handwritten-src/cpp/optional.hpp:267–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265
266 constexpr bool initialized() const noexcept { return OptionalBase<T>::init_; }
267 T* dataptr() { return std::addressof(OptionalBase<T>::storage_.value_); }
268 constexpr const T* dataptr() const { return static_addressof(OptionalBase<T>::storage_.value_); }
269
270# if OPTIONAL_HAS_THIS_RVALUE_REFS == 1

Callers

nothing calls this directly

Calls 1

static_addressofFunction · 0.85

Tested by

no test coverage detected