Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ constRefQualified
Method
constRefQualified
tests/test_methods_and_attributes.cpp:292–292 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
290
291
void refQualified(int other) & { value += other; }
292
int constRefQualified(int other) const & { return value + other; }
293
};
294
295
// Test rvalue ref param
Callers
1
test_ref_qualified
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected