Y
Hacker News
new
|
ask
|
show
|
jobs
by
maccard
143 days ago
What about
auto g() -> auto { return 0.0; }
1 comments
yunnpp
143 days ago
0.0 is a double, so I would assume the return type of g is deduced to be double, if that is what you're asking.
link
maccard
142 days ago
I was more pointing out that the syntax was dumb for that particular example!
link