SmartPointer
A SmartPointer implementation in C++. A SmartPointer is a data type, implemented with templates, that simulates a pointer while also providing automatic garbage collection.
Install / Use
/learn @Nerdylicious/SmartPointerREADME
Smart Pointer
A SmartPointer implementation in C++. A SmartPointer is a data type, implemented with templates, that simulates a pointer while also providing automatic garbage collection. It automatically counts the number of references to a SmartPointer<T *> object and frees the object of type T when the reference count hits zero.
- A SmartPointer can point to an object of any type by using generics/templates
- A SmartPointer provides safety via automatic memory management
- Avoids issues like dangling pointers, memory leaks and allocation failures
- SmartPointer must maintain a single reference count for all references to a given object
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate 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
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
