logoalt Hacker News

maccardyesterday at 8:40 PM1 replyview on HN

What about

auto g() -> auto { return 0.0; }


Replies

yunnppyesterday at 10:43 PM

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.