Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hello,
What are px and pn [Edit]in a boost smart pointer[/Edit] which are visible while debugging?


Edited to better reflect the question
-E.G.-
Posted
Updated 26-Jul-11 22:28pm
v2
Comments
Chris Meech 26-Jul-11 8:57am    
Could you please add more context to your question, such as some brief code example. A C++ pointer by itself will not have data members, if that is what "px and pn in a pointer" is referring to.
ahsanriaz1K 27-Jul-11 0:38am    
it is boost smart pointer, Now please explain my question.
Maximilien 26-Jul-11 9:04am    
what platform ? using visual studio ?
what px and pn ? visible where in the debugger ?
ahsanriaz1K 27-Jul-11 0:39am    
yes,VS 2005, px and pn is visible in debugging program, on tooltip of mouse .
Harrison H 26-Jul-11 21:18pm    
Sounds like boost smart pointer

1 solution

A boost smart pointer (like any other smart pointer) is a class.
px and pn are it's data member, whose meaning depends on the implementation.

As far as I now, one of it is a pointer to the pointed object, the other is a pointer to an helper structure containing the reference counters an the destroy method.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900