# Native Cpp Memory

> Use this skill when diagnosing or correcting ownership, lifetime, or allocator defects in native C++ code.

- Skill: `anastasiyaw/native-cpp-memory` (Agent Skill, multi-file: 21 files)
- Install (CLI): `npx skillmds@latest add anastasiyaw/native-cpp-memory`
- Raw SKILL.md: https://api.skillmd.com/api/skills/anastasiyaw/native-cpp-memory/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: AnastasiyaW (https://skillmd.com/u/anastasiyaw)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/anastasiyaw/native-cpp-memory

---


# Native C++ Memory

Use current code and a causal reproducer before changing ownership.

## Gotchas

- `deleteLater` does not prove the receiving event loop will run.

## Troubleshooting

- Crash after thread shutdown -> trace object affinity and the final event-loop turn.

