MCPcopy Create free account
hub / github.com/dengwirda/jigsaw / push_head

Method push_head

src/libcpp/containers/basic_stack.hpp:305–317  ·  view source on GitHub ↗

---------------------------- push data (_def construct) */

Source from the content-addressed store, hash-verified

303
304/*---------------------------- push data (_def construct) */
305 __inline_call _write_it push_head (
306 )
307 {/* allocate and construct a new raw item */
308 item_type *_this_item =
309 self_type::allocate(1);
310 self_type::construct(_this_item,
311 this->_hptr) ;
312
313 this->_hptr = _this_item ;
314
315 return
316 _write_it(_this_item,(self_type*)this) ;
317 }
318
319/*---------------------------- push data (copy construct) */
320 __inline_call _write_it push_head (

Callers

nothing calls this directly

Calls 2

allocateFunction · 0.85
_write_itFunction · 0.70

Tested by

no test coverage detected