This video demonstrates how to use custom type traits with static_assert to detect when callables are accepting arguments by value instead of by reference, transforming runtime performance issues into compile-time errors. The speaker, Keith Stockdale from Rare Ltd, presents a practical example where a missing ampersand in a lambda function caused significant server performance problems due to unnecessary copying of large objects. By implementing a type trait that checks if arguments are references, pointers, or small trivial types, developers can catch these bugs during compilation rather than runtime, preventing costly performance issues from reaching production.
Deep Dive
Voraussetzung
- Keine Daten verfügbar.
Installieren Sie unsere Erweiterung an, um sofort in jedem Video zu suchen
Nächste Schritte
- Keine Daten verfügbar.
Deep Dive
Lightning Talk: Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025Hinzugefügt:
Ähnliche Videos
resume fixed instantly 😭 Comment “app”andI’ll sendyou the link #parakeetaipartnership #resumetips
Ritcareer
686 views•2026-05-31
3D Basics in C
HirschDaniel
2K views•2026-06-05
Re: 🗣️📍theprophedu📍2026 GST 103 CLASS (E-EXAM REVISION)
theprophedu
636 views•2026-06-04
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
Making Minecraft Clone with C++ & Raylib
PecaCSLive
686 views•2026-06-04
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Instagram accounts got PWNed
EricParker
13K views•2026-06-03
So What's Odin Lang Even Good For
TechOverTea
131 views•2026-06-01











