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

Method make_node

src/libcpp/aabb_tree/aabb_tree_k.hpp:178–186  ·  view source on GitHub ↗

---------------------- helper - create a block of nodes */

Source from the content-addressed store, hash-verified

176
177/*---------------------- helper - create a block of nodes */
178 __inline_call void_type make_node (
179 node_data*&_data
180 )
181 {
182 _data =
183 this->_node_pool.allocate (1) ;
184 this->
185 _node_pool.construct (_data) ;
186 }
187
188/*------------------------------- helper - delete an item */
189 __inline_call void_type free_item (

Callers

nothing calls this directly

Calls 2

allocateMethod · 0.45
constructMethod · 0.45

Tested by

no test coverage detected