DynamicArray
No description available
Install / Use
/learn @daoxiang0520/DynamicArrayREADME
DynamicArray
动态数组实现,依赖于MemoryPool库,支持以下操作
push_back(T pusher)
在数组末端加入元素pusher
push_front(T pusher)
在数组前端加入元素pusher
deleteval(int index)
删除索引为index的元素
change(int index,T val)
将索引为index的元素改为val
begin()
返回数组头指针
end()
返回数组末指针
size()
返回数组长度
empty()
判断数组是否为空,是则返回true,不是返回false
除此之外,该数组长度可动态适应改变
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
