Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TNG/boost-python-examples
/ BOOST_PYTHON_MODULE
Function
BOOST_PYTHON_MODULE
13-AutoInstantiation/myextension.cpp:7–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
using namespace boost::python;
6
7
BOOST_PYTHON_MODULE(myextension)
8
{
9
class_<Base>(
"Base"
, init<std::string>())
10
.def(
"__str__"
, &Base::name)
11
;
12
13
}
14
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected