473,473 Members | 2,309 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Smart pointer libraries other than Boost?

Do you know about any other smart pointer libraries? I have found only
three: Boost, Loki and Yasper, but I think no one of these is perfect.
If I don't find more, I will probably have to write one by myself.
Mar 2 '08 #1
3 1716
On Mar 2, 3:41 pm, mcz...@poczta.onet.pl wrote:
Do you know about any other smart pointer libraries? I have found only
three: Boost, Loki and Yasper, but I think no one of these is perfect.
If I don't find more, I will probably have to write one by myself.
what special-functionality that is not provided by these libraries
do you need ?

lutz altmann
Mar 2 '08 #2
mc****@poczta.onet.pl wrote, On 2.3.2008 15:41:
Do you know about any other smart pointer libraries? I have found only
three: Boost, Loki and Yasper, but I think no one of these is perfect.
If I don't find more, I will probably have to write one by myself.
TR1 smart pointers? Though I hear they are very similar to Boost's ones.

--
VH
Mar 2 '08 #3

<mc****@poczta.onet.plwrote in message
news:cf**********************************@v3g2000h sc.googlegroups.com...
Do you know about any other smart pointer libraries? I have found only
three: Boost, Loki and Yasper, but I think no one of these is perfect.
If I don't find more, I will probably have to write one by myself.
What type of thread-safety level are you looking for? Boost is only
basic/normal level. There are others out there such as:

http://atomic-ptr-plus.sourceforge.net

or

http://home.comcast.net/~appcore/vzoom/refcount
which are atomically thread-safe (e.g., strong safety level):

http://groups.google.com/group/comp....167941d32340c6
Here is one in C using pure POSIX:

http://groups.google.com/group/comp....7609a5eff4a466

Mar 3 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Mohammad | last post by:
Is there a difference between smart pointers and automatic pointers or they refer to the same idea. -Thanks
9
by: christopher diggins | last post by:
I would like to survey how widespread the usage of smart pointers in C++ code is today. Any anecdotal experience about the frequency of usage of smart pointer for dynamic allocation in your own...
2
by: Hendrik Schober | last post by:
Hi, I need something like this: class X { private: struct Impl_ { virtual ~Impl_() {} virtual Impl_* clone() const = 0; };
10
by: Allerdyce.John | last post by:
I think Smart Pointer library in C++ is implemented using reference count. How does smart pointer library detect if there is a circular reference? and if yes, what does it do about it? Thank...
13
by: Protoman | last post by:
Here's a non intrusive reference counting smart pointer class I'm working on; I keep getting a "22 C:\Dev-Cpp\SmrtPtr.hpp ISO C++ forbids declaration of `SmrtPtrDB' with no type" error. Code: ...
92
by: Jim Langston | last post by:
Someone made the statement in a newsgroup that most C++ programmers use smart pointers. His actual phrase was "most of us" but I really don't think that most C++ programmers use smart pointers,...
33
by: Ney André de Mello Zunino | last post by:
Hello. I have written a simple reference-counting smart pointer class template called RefCountPtr<T>. It works in conjunction with another class, ReferenceCountable, which is responsible for the...
54
by: Boris | last post by:
I had a 3 hours meeting today with some fellow programmers that are partly not convinced about using smart pointers in C++. Their main concern is a possible performance impact. I've been explaining...
50
by: Juha Nieminen | last post by:
I asked a long time ago in this group how to make a smart pointer which works with incomplete types. I got this answer (only relevant parts included): ...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.