Clears the stack
| 216 | |
| 217 | /// Clears the stack |
| 218 | void clear() |
| 219 | { |
| 220 | auto pRec = m_FlatCombining.acquire_record(); |
| 221 | |
| 222 | constexpr_if ( c_bEliminationEnabled ) |
| 223 | m_FlatCombining.batch_combine( op_clear, pRec, *this ); |
| 224 | else |
| 225 | m_FlatCombining.combine( op_clear, pRec, *this ); |
| 226 | |
| 227 | assert( pRec->is_done()); |
| 228 | m_FlatCombining.release_record( pRec ); |
| 229 | } |
| 230 | |
| 231 | /// Exclusive access to underlying stack object |
| 232 | /** |
nothing calls this directly
no test coverage detected