Isn’t it actually a Standard ML and C/C++ hybrid? The window dressing is C/C++ sure, but the lack of statements, semicolons, the presence of enums, etc are quite reminiscent of SML.
SML is definitely the next biggest influence, but it's an SML frosting on top of a C-family base.
What was the comment context here? It's flagged so I didn't see it.