Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/json
/ testDestroy
Method
testDestroy
test/array.cpp:66–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
}
65
66
void
67
testDestroy()
68
{
69
{
70
monotonic_resource mr;
71
array a(&mr);
72
a.reserve(3);
73
}
74
{
75
monotonic_resource mr;
76
array a(&mr);
77
a.resize(3);
78
a.clear();
79
}
80
}
81
82
void
83
testCtors()
Callers
nothing calls this directly
Calls
3
resize
Method · 0.80
reserve
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected