You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
hello there,
Is it possible to create a void smart pointer so that, it could be
assigned later based on implementation cases ?
Thank you very much!
Dereje (Abuchuu)!!
Message has been deleted
Quincy
unread,
Aug 30, 2010, 11:18:26 PM8/30/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Oops... Sorry I misread "void" to be "null" in my last post (now
removed)...
Not really - Ptr needs the functions Ref() and Unref() in the object
it's pointing to.
Since Ptr doesn't work with arbitrary types, it doesn't make sense for
you to use void pointers either. If you want a Ptr to accept anything
that it can support, you could make it a Ptr<Object> instead.