Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rovingeye
· 10mo ago · 0 comments
This has been valid C++ since C++ 11
Comments
[–]
direwolf20
10mo 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"
[–]
rovingeye
OP
10mo ago
it's literally the exact same thing. We use trailing return types to be consistent across the language.
[–]
direwolf20
10mo ago
We use trigraphs to be consistent across the language.