Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ operator->
Method
operator->
tests/test_stl.cpp:156–156 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
154
const T &operator*() const noexcept { return value(); }
155
156
const T *operator->() const noexcept { return &value(); }
157
158
explicit operator bool() const noexcept { return !storage.empty(); }
159
Callers
nothing calls this directly
Calls
1
value
Function · 0.85
Tested by
no test coverage detected