الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

المؤشرات الذكية

مغلق
بدأه m_tayseer في 22 فبراير 2003 · 0 رد · 332 مشاهدة · في ارشيف قسم C/C++
مشاركة: واتساب X فيسبوك تيليجرام
#1

salam 3alekom

i'm working on a smart pointer library for C++ and i was testing it with a linked list class and adding some elments to it then it would free itself but my program instead of printing

dtor4
dtor3
....

it prints

dtor1
dtor2
.....

this should be printed during the destruction of the list. every thing else is ok. can any1 tell me why this happens and how to fix it. all the files needed is compressed & attached

salam

main.zip

هذا الموضوع مغلق.

مواضيع مشابهة