C++相談室 part72
■ このスレッドは過去ログ倉庫に格納されています
005251
2009/09/04(金) 20:28:08template <class T, class Allocator = std::allocator<T> >
class protected_vector : private std::vector<T, Allocator>
{
public:
typedef allocator_type allocator_type;
typedef const_iterator const_iterator;
typedef const_pointer const_pointer;
...
protected:
~protected_vector();
}
こういうのを作っておいて継承するわ。
■ このスレッドは過去ログ倉庫に格納されています