Click here to Skip to main content
15,913,302 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralRe: Repost of slightly altered previously removed article Pin
Kenneth Haugland4-Sep-12 10:28
mvaKenneth Haugland4-Sep-12 10:28 
GeneralRe: Repost of slightly altered previously removed article Pin
Pete O'Hanlon4-Sep-12 10:34
mvePete O'Hanlon4-Sep-12 10:34 
GeneralRe: Repost of slightly altered previously removed article Pin
Kenneth Haugland4-Sep-12 10:58
mvaKenneth Haugland4-Sep-12 10:58 
GeneralRe: Repost of slightly altered previously removed article Pin
Kenneth Haugland4-Sep-12 11:07
mvaKenneth Haugland4-Sep-12 11:07 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn4-Sep-12 23:03
professionalEspen Harlinn4-Sep-12 23:03 
GeneralRe: Repost of slightly altered previously removed article Pin
Pete O'Hanlon4-Sep-12 23:11
mvePete O'Hanlon4-Sep-12 23:11 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn4-Sep-12 23:16
professionalEspen Harlinn4-Sep-12 23:16 
GeneralRe: Repost of slightly altered previously removed article Pin
Pete O'Hanlon4-Sep-12 23:32
mvePete O'Hanlon4-Sep-12 23:32 
Espen Harlinn wrote:
Do you want destructors to be called on an object when a pointer to that object
goes out of scope?

I'm still confused by this article. Is he stating that he wants the language to cope with this by default? Is he asking for some form of reference counted/garbage collected tidy up?

When I was coding C++ (a long time ago I grant you), I rarely saw a need for the language to do this - there are too many edge cases where a non-determenistic delete could cause you problems. With a little bit of discipline, it's very easy to ensure that you tidy up (that and a couple of handy macros to write out the address of the object when it was created, and the address when it was deleted - if there's a mismatch in the count, you know that you may have a leak and you know which object it is).

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn4-Sep-12 23:50
professionalEspen Harlinn4-Sep-12 23:50 
GeneralRe: Repost of slightly altered previously removed article Pin
Pete O'Hanlon4-Sep-12 23:55
mvePete O'Hanlon4-Sep-12 23:55 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn5-Sep-12 0:02
professionalEspen Harlinn5-Sep-12 0:02 
GeneralRe: Repost of slightly altered previously removed article Pin
Pete O'Hanlon4-Sep-12 23:16
mvePete O'Hanlon4-Sep-12 23:16 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn5-Sep-12 3:59
professionalEspen Harlinn5-Sep-12 3:59 
GeneralRe: Repost of slightly altered previously removed article Pin
Pete O'Hanlon5-Sep-12 4:08
mvePete O'Hanlon5-Sep-12 4:08 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn5-Sep-12 10:03
professionalEspen Harlinn5-Sep-12 10:03 
GeneralRe: Repost of slightly altered previously removed article Pin
Pete O'Hanlon5-Sep-12 10:17
mvePete O'Hanlon5-Sep-12 10:17 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn5-Sep-12 12:52
professionalEspen Harlinn5-Sep-12 12:52 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn4-Sep-12 23:32
professionalEspen Harlinn4-Sep-12 23:32 
GeneralRe: Repost of slightly altered previously removed article Pin
Richard MacCutchan4-Sep-12 23:50
mveRichard MacCutchan4-Sep-12 23:50 
GeneralRe: Repost of slightly altered previously removed article Pin
Espen Harlinn5-Sep-12 0:48
professionalEspen Harlinn5-Sep-12 0:48 
Bug"Low vote colour" bug? Pin
Ed Nutting4-Sep-12 1:27
Ed Nutting4-Sep-12 1:27 
GeneralRe: "Low vote colour" bug? Pin
TPFKAPB4-Sep-12 1:31
TPFKAPB4-Sep-12 1:31 
GeneralRe: "Low vote colour" bug? Pin
Ed Nutting4-Sep-12 1:37
Ed Nutting4-Sep-12 1:37 
GeneralRe: "Low vote colour" bug? Pin
Sandeep Mewara4-Sep-12 5:42
mveSandeep Mewara4-Sep-12 5:42 
QuestionReporting/Approving Articles Pin
Ed Nutting4-Sep-12 1:06
Ed Nutting4-Sep-12 1:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.