renatoGarcia / icecream-cpp

🍦 Never use cout/printf to debug again
Other
577 stars 29 forks source link

Using std::function instead of type erasure. #26

Closed renatoGarcia closed 2 years ago

renatoGarcia commented 2 years ago

This was done to avoid a class with only pure virtual and inline methods. Without that a vtable would be emitted in every translation unit.