Overview
Features
Download
Documentation
Community
Add-Ons & Services

WeakPtr

General discussion regarding the development of POCO for contributors.

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
HardRock
 
Posts: 5
Joined: 10 Oct 2012, 13:46

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.
alex
 
Posts: 1048
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest

cron