MCPcopy Create free account
hub / github.com/ThePhD/sol2 / operator->

Function operator->

include/sol/optional_implementation.hpp:1324–1326  ·  view source on GitHub ↗

\returns a pointer to the stored value \requires a value is stored \group pointer \synopsis constexpr const T *operator->() const;

Source from the content-addressed store, hash-verified

1322 /// \group pointer
1323 /// \synopsis constexpr const T *operator->() const;
1324 constexpr const T* operator->() const {
1325 return std::addressof(this->m_value);
1326 }
1327
1328 /// \group pointer
1329 /// \synopsis constexpr T *operator->();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected