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

Method consume_str

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

Source from the content-addressed store, hash-verified

57 void add10(const int *other) { value += *other; } // passing by const pointer
58
59 void consume_str(std::string &&) {}
60
61 ExampleMandA self1() { return *this; } // return by value
62 ExampleMandA &self2() { return *this; } // return by reference

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected