Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ constParameterPointer_unique_ptr_reset
Function
constParameterPointer_unique_ptr_reset
test/cfg/std.cpp:5221–5223 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5219
}
5220
5221
void constParameterPointer_unique_ptr_reset(std::unique_ptr<int>& u, int* p) {
5222
u.reset(p);
5223
}
5224
5225
bool constParameterPointer_map_contains(const std::map<int*, int>& m, int* p) {
5226
#if __cplusplus >= 202002L
Callers
nothing calls this directly
Calls
1
reset
Method · 0.45
Tested by
no test coverage detected