I believe that they are now strictly equivalent, although that was not
the case half a year ago. Back when handles held UUID's, then a
handle could be a null pointer, but holding a valid UUID. and
vice-versa -- a pointer could be non-null, but the UUID invalid.
Resolving the one form into the other was complicated -- this
confusion was one of the strong motivators for removing UUID's from
the handle.
Getting rid of h.is_defined() and Handle::UNDEFINED seems reasonable.
There's some other obsolete code as well: stuff that is marked with
DEPRECATED_ATOMSPACE_CALLS also should be cleaned up. Currently I
think its only the pattern miner that still uses these. Its been 5+
years now that these have been deprecated...
-- Linas
> --
> You received this message because you are subscribed to the Google Groups
> "opencog" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
opencog+u...@googlegroups.com.
> To post to this group, send email to
ope...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/opencog.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/opencog/a171e4aa-c840-6ac5-94ac-64be9174d087%40gmail.com.
> For more options, visit
https://groups.google.com/d/optout.