Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mentos
11y ago
0 comments
Save
Share
I'm new to C++ so please forgive my ignorance but where is howAwesome() defined in result1's lambda?
0 comments
2 comments · 2 top-level
top
newest
oldest
sjolsen
11y ago
It isn't. It's a part of the type "ResultT1."
hawkice
11y ago
Those lambdas are immediately applied, so it's defined in the type returned by them.
j
/
k
navigate · click thread line to collapse