Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ bind_empty0
Function
bind_empty0
tests/test_class.cpp:50–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
using Empty0 = SoEmpty<0x0>;
49
50
void bind_empty0(py::module_ &m) {
51
py::class_<Empty0>(m,
"Empty0"
).def(py::init<>()).def(
"get_msg"
, get_msg<Empty0>);
52
}
53
54
} // namespace pr4220_tripped_over_this
55
Callers
1
PYBIND11_OVERRIDE
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected