c++11 hash example