| 423 | |
| 424 | template<class InputIt> |
| 425 | void |
| 426 | object:: |
| 427 | construct( |
| 428 | InputIt first, |
| 429 | InputIt last, |
| 430 | std::size_t min_capacity, |
| 431 | std::input_iterator_tag) |
| 432 | { |
| 433 | reserve(min_capacity); |
| 434 | revert_construct r(*this); |
| 435 | while(first != last) |
| 436 | { |
| 437 | insert(*first); |
| 438 | ++first; |
| 439 | } |
| 440 | r.commit(); |
| 441 | } |
| 442 | |
| 443 | template<class InputIt> |
| 444 | void |