http://marknelson.us/2002/03/01/next-permutation/

http://marknelson.us/2011/09/03/hash-functions-for-c-unordered-containers/

http://stackoverflow.com/questions/7867220/stdmake-tuple-doesnt-make-references

這星期要讀的內容

 

    int a=10 , b=100 ;
    auto test3 = std::make_tuple(std::ref(a),std::ref(b)) ;
    a =1000 ; b = 12345 ;
    cout << get<0>(test3) << " " <<get<1>(test3) << endl ;

        return 0;

 

Ans :

1000 12345

arrow
arrow
    全站熱搜

    hedgezzz 發表在 痞客邦 留言(0) 人氣()