MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / push

Method push

extern/libcds/cds/container/treiber_stack.h:295–303  ·  view source on GitHub ↗

Pushes copy of \p val on the stack

Source from the content-addressed store, hash-verified

293
294 /// Pushes copy of \p val on the stack
295 bool push( value_type const& val )
296 {
297 scoped_node_ptr p( alloc_node(val));
298 if ( base_class::push( *p )) {
299 p.release();
300 return true;
301 }
302 return false;
303 }
304
305 /// Pushes data of type \ref value_type created from <tt>std::forward<Args>(args)...</tt>
306 template <typename... Args>

Callers

nothing calls this directly

Calls 3

alloc_nodeFunction · 0.70
pushFunction · 0.70
releaseMethod · 0.45

Tested by

no test coverage detected