Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ Widget
Method
Widget
tests/test_with_catch/test_interpreter.cpp:36–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
class Widget {
35
public:
36
explicit Widget(std::string message) : message(std::move(message)) {}
37
virtual ~Widget() = default;
38
39
std::string the_message() const { return message; }
Callers
nothing calls this directly
Calls
1
move
Function · 0.85
Tested by
no test coverage detected