@@ -248,32 +248,32 @@ class prevector {
248
248
249
249
prevector () : _size(0 ), _union{{}} {}
250
250
251
- explicit prevector (size_type n) : _size( 0 ) {
251
+ explicit prevector (size_type n) : prevector( ) {
252
252
resize (n);
253
253
}
254
254
255
- explicit prevector (size_type n, const T& val) : _size( 0 ) {
255
+ explicit prevector (size_type n, const T& val) : prevector( ) {
256
256
change_capacity (n);
257
257
_size += n;
258
258
fill (item_ptr (0 ), n, val);
259
259
}
260
260
261
261
template <typename InputIterator>
262
- prevector (InputIterator first, InputIterator last) : _size( 0 ) {
262
+ prevector (InputIterator first, InputIterator last) : prevector( ) {
263
263
size_type n = last - first;
264
264
change_capacity (n);
265
265
_size += n;
266
266
fill (item_ptr (0 ), first, last);
267
267
}
268
268
269
- prevector (const prevector<N, T, Size, Diff>& other) : _size( 0 ) {
269
+ prevector (const prevector<N, T, Size, Diff>& other) : prevector( ) {
270
270
size_type n = other.size ();
271
271
change_capacity (n);
272
272
_size += n;
273
273
fill (item_ptr (0 ), other.begin (), other.end ());
274
274
}
275
275
276
- prevector (prevector<N, T, Size, Diff>&& other) : _size( 0 ) {
276
+ prevector (prevector<N, T, Size, Diff>&& other) : prevector( ) {
277
277
swap (other);
278
278
}
279
279
0 commit comments