wfxr
10/8/2016 - 9:25 AM

cpp-tricks.md

// C++11 中的类型别名语法支持创建别名模板:

template<typename T> using ptr = T*; 
// the name 'ptr<T>' is now an alias for pointer to T
ptr<int> ptr_int;
template <typename T> using MinPQ = PriorityQueue<T, std::vector<T>>;