these code is used to test the "right reference" feature in c++11