Bit-fields are a feature of the C and C++ languages to optimize the space taken by an integral member variable of a struct or class. It specifies the exact number…
Category: C++
C++ – RAII, Ownership, and Smart Pointers
Please don’t pass around a std::shared_ptr<T> when you don’t need to.