module Elt : sig ... end
val add_removable : 'a t -> 'a -> 'a Elt.t
add_removable t v
returns a token that can be later used to removev
. Unlike the regular function, this unsafe version doesn't allocate.
Pairing_heap.Unsafe
module Elt : sig ... end
val add_removable : 'a t -> 'a -> 'a Elt.t
add_removable t v
returns a token that can be later used to remove v
. Unlike the regular function, this unsafe version doesn't allocate.