Home » U++ Library support » U++ Core » Ptr improve
Re: Ptr improve [message #32482 is a reply to message #32481] |
Fri, 20 May 2011 11:04 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
i am thinking of an addition
class A;
class B : A
think of a Shared<B> that can point to same instance, as some Shared<A> do.. so they need to share the refcount.. so which ever of the Shared instances dies last, will destroy the object properly. provided virtual dtor..
thats a current use case for me now..
in C# this is done automatically, since 'object' has got a ref count internally. with this U++ would come very close to that..
[Updated on: Fri, 20 May 2011 11:07] Report message to a moderator
|
|
|
|
|
Ptr improve
By: tojocky on Mon, 16 May 2011 14:07
|
|
|
Re: Ptr improve
By: mirek on Mon, 16 May 2011 15:05
|
|
|
Re: Ptr improve
By: tojocky on Mon, 16 May 2011 15:31
|
|
|
Re: Ptr improve
By: tojocky on Mon, 16 May 2011 16:06
|
|
|
Re: Ptr improve
By: mirek on Mon, 16 May 2011 23:13
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
By: tojocky on Wed, 18 May 2011 13:12
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
By: tojocky on Fri, 20 May 2011 08:32
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
By: mirek on Fri, 20 May 2011 13:19
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
By: mirek on Mon, 23 May 2011 22:37
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
By: mirek on Tue, 24 May 2011 17:46
|
|
|
Re: Ptr improve
By: mr_ped on Tue, 24 May 2011 18:28
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
By: mirek on Sat, 28 May 2011 20:57
|
|
|
Re: Ptr improve
By: mr_ped on Wed, 25 May 2011 09:34
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
|
|
|
Re: Ptr improve
By: mirek on Sat, 28 May 2011 21:10
|
Goto Forum:
Current Time: Thu Jun 06 15:12:07 CEST 2024
Total time taken to generate the page: 0.02230 seconds
|