With a bit of fiddeling you can use every kind of bracket to basically make function calls in c++

Here are the links to the snippets, all compile and run

Rust: https://godbolt.org/z/bM3d7bG14

OCaml: https://godbolt.org/z/17oMv83zx

C++: https://godbolt.org/z/9Y3WfoE1W

you are viewing a single comment's thread
view the rest of the comments
[–] 11 points 10 hours ago (5 children)

I have honestly never seen parentheses called "round brackets" before. It totally makes sense, I have no idea why it's not used more often.

  • source
  • hideshow 5 child comments
  • [–] 6 points 6 hours ago (2 children)

    Might be a German thing. For us, they are all "Klammern" and we call them either round (rund), angular (eckig) or curved (geschweift).

  • source
  • parent
  • hideshow 2 child comments