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

Function rtrn_valu

tests/test_class_sh_basic.cpp:68–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66// clang-format off
67
68atyp rtrn_valu() { atyp obj{"rtrn_valu"}; return obj; }
69atyp&& rtrn_rref() { static atyp obj; obj.mtxt = "rtrn_rref"; return std::move(obj); }
70atyp const& rtrn_cref() { static atyp obj; obj.mtxt = "rtrn_cref"; return obj; }
71atyp& rtrn_mref() { static atyp obj; obj.mtxt = "rtrn_mref"; return obj; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected