[Cs3] weak pointer and expried

Mikhail Nesterenko mnestere at kent.edu
Thu Nov 21 17:00:41 EST 2024


CS3 students,

This is regarding today's discussion.

Apparently wp.expired() is expected to return true only if the object
that wp points to has indeed been deleted.

If wp is uninitialized, then expired() returns false.

Thanks,
-- 
Mikhail


More information about the cs3 mailing list