RSSAmplifier

Blog

0xGhost Announcements

New blog posts on C++, systems programming, and performance optimization

0xghost.devRSS feed ↗2 posts

Latest posts

Template Parameter Deduction: Eliminating Hidden Copies in Generic Code

Learn how template parameter deduction and perfect forwarding eliminate hidden copies in generic C++ code. This deep dive covers forwarding references, reference collapsing, variadic templates, CTAD, and the mechanics of std::forward with practical examples showing exactly when to use T&&, decltype(auto), and std::decay_t. Includes debugging techniques, common anti-patterns, and a complete…

std::move doesn't move anything: A deep dive into Value Categories

Why std::move is just a cast, how it kills RVO if used wrong, and the mechanics of ownership transfer.