C++ does not have a function keyword at all, I wonder why did they add it in the first place.
auto my_function(int, double) -> int;
They probably want to use the same arrow signature and need something in place of auto as omitting it completely would complicate parsing.