Smart References: There and Back Again
summary
Header-only smartref library emulates operator-dot and implements Unified Call Syntax, claiming zero runtime and memory overhead by using CRTP and inlined delegation; it already supports the entire STL interface and member function templates (except member templates with non-type parameters). User must mark non‑standard identifiers as reflectable (one line per function). It composes member and free‑function invokers for chainable calls and works in practice, though verbose template errors and data‑member cases remain to refine.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:10Motivation for smart references
- 4:50What is a smart reference
- 7:21Using the library
- 10:14Library design
- 16:29Improved design
- 23:43Conclusion and future
- 24:52Q&A
related talks
01h 01mHigher-order functions in Modern C++: existing techniques and function_ref
01h 01mReflection
05mobserve me not - a short story about smart pointers
01h 03mC++ Reflection: Back on Track
01h 29mHigher-order functions and function_ref
54mBack to Basics: Move Semantics (part 2 of 2)
12mTraits Go Mainstream...
04mSmart Pointers in C++ Are Not Pointers
