Curly Function Call Syntax
summary
Claim: replace parentheses with braces for function calls by wrapping the call in a class whose constructor forwards arguments. Tool: a small CurlyCall wrapper that uses constructor forwarding and an initializer-list. The implementation compiles and invokes the target function in the demo, resolving evaluation-order surprises because the initializer-list enforces left-to-right evaluation per the standard. The prototype is built and shown working against real compilers, with earlier warning differences noted.
AI-written summary · about
related talks
48mWhat is a static function but isn't a static function
01h 01mCalling Functions: A Tutorial
08mReturn Values Take A Closure Walk
01h 09mFunctional Programming in C++
06mConstructor Template Argument Deduction Best Practices
50mThinking Functionally in C++
57mC++: λ Demystified
01h 01mApplicative: The Forgotten C++ Functional Pattern
