| 323 | */ |
| 324 | template <typename Func> |
| 325 | bool enqueue_with( Func f ) |
| 326 | { |
| 327 | scoped_node_ptr p( alloc_node()); |
| 328 | f( p->m_value ); |
| 329 | if ( base_class::enqueue( *p )) { |
| 330 | p.release(); |
| 331 | return true; |
| 332 | } |
| 333 | return false; |
| 334 | } |
| 335 | |
| 336 | /// Synonym for \p enqueue() function |
| 337 | bool push( value_type const& val ) |
nothing calls this directly
no test coverage detected