Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ construct1_string
Method
construct1_string
tests/test_factory_constructors.cpp:182–184 ·
view source on GitHub ↗
pointer again
Source
from the content-addressed store, hash-verified
180
}
181
// pointer again
182
static TestFactory1 *construct1_string(std::string a) {
183
return new TestFactory1(std::move(a));
184
}
185
186
// Moveable type:
187
// pointer:
Callers
nothing calls this directly
Calls
1
move
Function · 0.85
Tested by
no test coverage detected