Posts

C++ Variant From Scratch

C++ Variant From Scratch

For quite some time now, I’ve been wanting to do a full-scale implementation of std::variant from scratch. Why would you want to put yourself through the torment, you ask? Here’s what I say:

  1. Your understanding of the STL deepens.
  2. Your template metaprogramming …