Inserts a new element at the end of the deque container The function always returns \p true */
| 216 | The function always returns \p true |
| 217 | */ |
| 218 | bool push_back( |
| 219 | value_type const& val ///< Value to be copied to inserted element |
| 220 | ) |
| 221 | { |
| 222 | auto pRec = m_FlatCombining.acquire_record(); |
| 223 | pRec->pValPush = &val; |
| 224 | |
| 225 | constexpr_if ( c_bEliminationEnabled ) |
| 226 | m_FlatCombining.batch_combine( op_push_back, pRec, *this ); |
| 227 | else |
| 228 | m_FlatCombining.combine( op_push_back, pRec, *this ); |
| 229 | |
| 230 | assert( pRec->is_done()); |
| 231 | m_FlatCombining.release_record( pRec ); |
| 232 | m_FlatCombining.internal_statistics().onPushBack(); |
| 233 | return true; |
| 234 | } |
| 235 | |
| 236 | /// Inserts a new element at the end of the deque container (move semantics) |
| 237 | /** |