Y
Hacker News
new
|
ask
|
show
|
jobs
by
rovingeye
139 days ago
This has been valid C++ since C++ 11
1 comments
direwolf20
139 days ago
It's unusual. Some, unusual, style guides require it. It's useful in some cases, even necessary in some which is why it was introduced, but not for simple "int"
link
rovingeye
138 days ago
it's literally the exact same thing. We use trailing return types to be consistent across the language.
link
direwolf20
138 days ago
We use trigraphs to be consistent across the language.
link