1 2 3 4 5
template<class T> using Vec = vector<T,My_alloc<T>>; Vec<double> v = { 2.3, 1.2, 6.7, 4.5 }; sort(v); for(auto p = v.begin(); p!=v.end(); ++p) cout << *p << endl;
C++0x