WeakPtr

General discussion regarding the development of POCO for contributors.
HardRock
Posts: 5
Joined: 10 Oct 2012, 13:46

WeakPtr

Postby HardRock » 26 Dec 2013, 18:27

Hello everybody!

I'm using Poco 1.4.6 very intensively in my project. And i'm wondered why last discussion about WeakPtr ended in 2009 with nothing :D
WeakPtr is very usefull class...

So, i want to add WeakPtr support in Poco.

It will affect classes inside SharedPtr.h listed below:
Poco::SharedPtr
Poco::ReferenceCounter
Poco::WeakPtr will be added.

For Poco::ReferenceCounter interface will changed too. (because we need to add weakDuplicate(), weakRelease() and weakReferenceCount() functions).


What should i do to commit this changes into source tree?



SORRY i'm posted this topic in wrong place =((( Move it to Wishlist please.

HardRock
Posts: 5
Joined: 10 Oct 2012, 13:46

Re: WeakPtr

Postby HardRock » 27 Dec 2013, 08:12

I already have patch for SharedPtr.h

alex
Posts: 1246
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: WeakPtr

Postby alex » 23 Jan 2014, 03:46

You should fork github repo and send back pull request. 1.4.6 is a dead-end, btw - there won;t be any major releases or new features in that branch, just bugfixes. Given that C++11 comes with smart pointers, I'm not sure this intervention is worth, even in 1.5.x.

zeeshan002
Posts: 1
Joined: 07 May 2015, 14:39

Re: WeakPtr

Postby zeeshan002 » 07 May 2015, 14:43

I'm using Poco 1.4.6 very intensively in my project. And i'm wondered why last discussion about WeakPtr ended in 2009 with nothing :D
aliii

alex
Posts: 1246
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: WeakPtr

Postby alex » 07 May 2015, 16:43

For a simple reason - many people have great ideas but only few will actually carry out the workload needed to realize them. So, this was one of those cases.


Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 1 guest