MCPcopy Create free account
hub / github.com/p-ranav/tabulate / as

Function as

include/tabulate/optional_lite.hpp:733–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731 optional_nodiscard void const *ptr() const optional_noexcept { return &data; }
732
733 template <typename U> optional_nodiscard U *as() { return reinterpret_cast<U *>(ptr()); }
734
735 template <typename U> optional_nodiscard U const *as() const {
736 return reinterpret_cast<U const *>(ptr());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected