Using std::variant to reduce getter and setter clutterIt's all good, its fun to experiment and see what can be done with it. I enjoy doing weird stuff lik...
Using std::variant to reduce getter and setter clutterThat's unfortunate haha, I love C++ but damn, sometime you have to do a LOT just accomplish very lit...
Using std::variant to reduce getter and setter clutterI'm experimenting with new ways to reduce code bloat, and one of my biggest gripes is always having ...
Is this how you do object chaining?Thank you for all the replies! That seems like a straight forward concept!
Is this how you do object chaining?Is this better? [code]#include <iostream> #include <print> #include <string> #include <vector> cla...