Home » U++ Library support » U++ Core » ptr
Re: ptr [message #24190 is a reply to message #24189] |
Mon, 04 January 2010 00:38   |
|
Hi Reinhard,
The problem is not in Ptr. It is in your toString() methods. JPerson::toString() calls NPerson::toString() which calls JPerson::toString etc., creating infinite loop. Over 58200 times on my machine, before something went wrong (overflow?) and it threw segmentation fault.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Wed Apr 30 05:04:44 CEST 2025
Total time taken to generate the page: 0.04205 seconds
|