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

Method atyp

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

Source from the content-addressed store, hash-verified

10struct atyp { // Short for "any type".
11 std::string mtxt;
12 atyp() : mtxt("DefaultConstructor") {}
13 explicit atyp(const std::string &mtxt_) : mtxt(mtxt_) {}
14 atyp(const atyp &other) { mtxt = other.mtxt + "_CpCtor"; }
15 atyp(atyp &&other) noexcept { mtxt = other.mtxt + "_MvCtor"; }

Callers 7

test_atyp_constructorsFunction · 0.80
test_load_with_mtxtFunction · 0.80
test_pass_shared_ptr_ptrFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected