Chad J > wrote: > Couldn't you also do weak pointers by XORing them with 0xFFFFFFFF (or, > better yet, const size_t weakxor = -1), then XORing again before and > after you need to operate on them? > > Just thought I'd toss that out there. You're very devious! I like that idea. (All you need to do is set the least significant bit to 1.)