1.tuple :http://www.cplusplus.com/reference/tuple/
eg:tuple<string,int,float> t1("hello",1,1.34);auto t2=make_tuple(44,33,"what");get<1>(t1);//
tuple 的构造过程用到了自身的递归调用

type traits:模板类,http://en.cppreference.com/w/cpp/header/type_traits,在类模板中类型定义。
----------------------------------------------------------------------------------------------------------
moveable:是指针变动,但指针指向的元素内存没有发生变化。使用的前提是类型是moveable的。在构造函数中浅拷贝,使用&&。

网友评论