NEURON
neuron::container::utils::detail Namespace Reference

Functions

generic_data_handle promote_or_clear (generic_data_handle)
 Try and promote a generic_data_handle wrapping a raw pointer. More...
 

Function Documentation

◆ promote_or_clear()

generic_data_handle neuron::container::utils::detail::promote_or_clear ( generic_data_handle  gdh)

Try and promote a generic_data_handle wrapping a raw pointer.

If the raw pointer can be found in the model data structures, a "modern" permutation-stable handle to it will be returned. If it cannot be found, a null generic_data_handle will be returned.

Definition at line 126 of file container.cpp.