for c++11 exsample code