(256, -1)
, in this line :
|
|
|
|
|
|
(256, -1)
has two values, both int
, and int is not an allocator, nor an iterator.
|
|
vector (size_type n, const value_type& val, const allocator_type& alloc = allocator_type());
vector (size_type n, const value_type& val);
(2) fill constructor Constructs a container with n elements. Each element is a copy of val. |