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
[–] 4 points 5 hours ago (1 child)

Omg I have the best idea but I'm not writing any C++ so someone else will have to do it.

Overload + to work as - in either some super rare condition or randomly with a very low chance

Ship it

  • source
  • parent
  • hideshow 1 child comment