Inheriting std::vector ctors in PointerList.

This commit is contained in:
Stefano Sanfilippo 2015-03-07 14:04:15 +01:00
parent eafc7c5d94
commit 43fc82d318

View File

@ -38,6 +38,7 @@ public:
template<class T> template<class T>
class PointerList: public std::vector<T*> { class PointerList: public std::vector<T*> {
public: public:
using std::vector<T*>::vector;
PointerList() {} PointerList() {}
PointerList(PointerList&) = delete; PointerList(PointerList&) = delete;