Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ QueueItem
Method
QueueItem
practice/itemPool.cpp:54–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
struct QueueItem
53
{
54
QueueItem(T data = T()) : _data(data), _next(nullptr) {}
55
56
// 给 QueueItem 提供自定义的内存管理
57
void *operator new(size_t size)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected