Answers for "c++ typedef template class"

C++
0

c++ typedef template class

template<typename T>
using MyVector = std::vector<T, MyCustomAllocator<T>>;

MyVector<int> x; // same as: std::vector<int, MyCustomAllocator<int>>
Posted by: Guest on August-30-2021

Browse Popular Code Answers by Language