Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameron314/readerwriterqueue
/ get_value
Method
get_value
tests/unittests/unittests.cpp:66–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
UniquePtrWrapper() = default;
65
UniquePtrWrapper(std::unique_ptr<int> p) : m_p(std::move(p)) {}
66
int get_value() const { return *m_p; }
67
std::unique_ptr<int>& get_ptr() { return m_p; }
68
private:
69
std::unique_ptr<int> m_p;
Callers
2
blocking
Method · 0.80
emplace
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected