David B. Held wrote:
I need a pointer that can store pointer or an ID.
Looks like a variant. Out of curiosity, how do you use it?
___
Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
I need a pointer that can store pointer or an ID. I thought maybe
I could make a policy set for smart_ptr, but that turns out to be
too tricky. I don't think this kind of thing is appropriate for a
smart pointer because of the interface, but I just wanted to get
some opinions on the technique,