Construct or replace an element. ! construct has to be set to true if and only if pos points to an uninitialized memory. */
| 2413 | <code>pos</code> points to an uninitialized memory. |
| 2414 | */ |
| 2415 | void construct_or_replace(bool construct, pointer pos, param_value_type item) { |
| 2416 | if (construct) |
| 2417 | boost::container::allocator_traits<Alloc>::construct(m_alloc, boost::to_address(pos), item); |
| 2418 | else |
| 2419 | replace(pos, item); |
| 2420 | } |
| 2421 | |
| 2422 | //! Construct or replace an element. |
| 2423 | /*! |
no test coverage detected