Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mentos
on Sept 26, 2014
|
parent
|
context
|
favorite
| on:
John Carmack on Inlined Code
I'm new to C++ so please forgive my ignorance but where is howAwesome() defined in result1's lambda?
sjolsen
on Sept 26, 2014
|
next
[–]
It isn't. It's a part of the type "ResultT1."
hawkice
on Sept 27, 2014
|
prev
[–]
Those lambdas are immediately applied, so it's defined in the type returned by them.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: