Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ OverrideTest
Method
OverrideTest
tests/test_virtual_functions.cpp:359–359 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
357
std::string v;
358
A a;
359
explicit OverrideTest(const std::string &v) : v{v} {}
360
OverrideTest() = default;
361
OverrideTest(const OverrideTest &) = delete;
362
virtual std::string str_value() { return v; }
Callers
1
test_override_ref
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected