I just came across this post and found a very elegant way of initializing maps
http://stackoverflow.com/questions/138600/initializing-a-static-stdmapint-int-in-c/1730798#1730798
So i wanted to start a thread in which we can list such idioms. They surely make you appreciate the power and expressiveness of C++