Simple approach to unique identifiers
Sometimes I need a class to have a unique identifier. In this post I like to present to you a quick and easy approach to realize this.
Sometimes I need a class to have a unique identifier. In this post I like to present to you a quick and easy approach to realize this.
A before and after snippet on how to improve a check if an STL container is empty.
Another before and after snippet on how to optimize the access to associative containers.