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
[–] 1 point 5 days ago

If you have a couple of hours, and can stomach the AI art, then this video covers a lot of the niceties of C++:

https://www.youtube.com/watch?v=7fGB-hjc2Gc

  • source
  • parent