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

Method ReferenceSensitiveOptional

tests/test_stl.cpp:128–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 using value_type = T;
127
128 ReferenceSensitiveOptional() = default;
129 // NOLINTNEXTLINE(google-explicit-constructor)
130 ReferenceSensitiveOptional(const T &value) : storage{value} {}
131 // NOLINTNEXTLINE(google-explicit-constructor)

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected