| 336 | */ |
| 337 | template <typename Func> |
| 338 | bool pop_with( Func f ) |
| 339 | { |
| 340 | node_type * p = base_class::pop(); |
| 341 | if ( !p ) |
| 342 | return false; |
| 343 | |
| 344 | f( p->m_value ); |
| 345 | retire_node( p ); |
| 346 | |
| 347 | return true; |
| 348 | } |
| 349 | |
| 350 | /// Check if stack is empty |
| 351 | bool empty() const |
nothing calls this directly
no test coverage detected