~/talk

Curly Function Call Syntax

Talkat CppCon 2018 · 2018-09-23..09-28· [rust]
slides:none on file

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

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.