---------------------- increment count (_def construct) */
| 431 | |
| 432 | /*---------------------- increment count (_def construct) */ |
| 433 | __normal_call void_type inc_count ( |
| 434 | size_type _inc_count , |
| 435 | __cont::alloc_types _new_alloc = |
| 436 | __cont::loose_alloc |
| 437 | ) |
| 438 | { |
| 439 | /*--------- expand underlying buffer, based on policy */ |
| 440 | size_type _cur_count = count() ; |
| 441 | switch (_new_alloc ) |
| 442 | { |
| 443 | case __cont::loose_alloc : |
| 444 | { inc_alloc(_cur_count + _inc_count); break; } |
| 445 | case __cont::tight_alloc : |
| 446 | { set_alloc(_cur_count + _inc_count); break; } |
| 447 | } |
| 448 | /*--------- update buffer pointers and ctor new items */ |
| 449 | _write_it _head = tend() ; |
| 450 | this->_ptrs[_tptr] += _inc_count ; |
| 451 | ctor_iter(_head , tend()); |
| 452 | } |
| 453 | |
| 454 | /*---------------------- increment count (copy construct) */ |
| 455 | __normal_call void_type inc_count ( |
nothing calls this directly
no outgoing calls
no test coverage detected