Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ VectorOwner
Method
VectorOwner
tests/test_vector_unique_ptr_member.cpp:22–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
21
private:
22
explicit VectorOwner(std::vector<std::unique_ptr<DataType>> data) : data_(std::move(data)) {}
23
24
const std::vector<std::unique_ptr<DataType>> data_;
25
};
Callers
nothing calls this directly
Calls
1
move
Function · 0.85
Tested by
no test coverage detected