MCPcopy Create free account
hub / github.com/pybind/pybind11 / func4

Method func4

tests/test_methods_and_attributes.cpp:300–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 std::size_t func2(std::string &&s) const { return s.size(); }
299 std::size_t func3(std::string &&s) & { return s.size(); }
300 std::size_t func4(std::string &&s) const & { return s.size(); }
301};
302
303namespace pybind11_tests {

Callers 1

test_rvalue_ref_paramFunction · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected