Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/babylon
/ S
Method
S
test/reusable/test_memory_resource.cpp:449–451 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
447
TEST(memory_resource, also_works_as_arena_with_non_protobuf) {
448
struct S {
449
S(const char* str) : s(str) {
450
nums()++;
451
}
452
~S() {
453
nums()--;
454
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected