100DaysOfGameDev: Day 22

Can C++ overload itself to be some other language like Rust or Oberon? More overload, the more my brain stops braining. The overloading syntax is not the hard part. It is however hard to foresee the consequences of your overloading and how the user is then supposed to properly use your design. This time I read about overloading increment and decrement operators, also overloading allocation ( new, new[] ) and deallocation ( delete, delete[] ) operators. Also, the user-defined literals were discussed in more detail, that is you can build new literals on top of the literals, that are already provided by language. Based on these tools, the author showed the simple implementation of std::string, with optimizations and a convenient interface. Of course, it doesn't come close to the original std::string, however, it was usable. I reached probably the most funny topics of the book called friends and finding friends, which I can see to be an up-to-date struggle for most C++ developers ( get a life ). I believe my brain needs a bit of rest from this book, so after I finish this chapter ( tomorrow ), I will for a couple of days switch to another topic, either to programming a basic but modern ray-tracer or to the basics of Unreal Engine, depends on how I will feel. That's it for today, see you!