Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Order of member initialization
Re: Order of member initialization [message #58883 is a reply to message #58879] Wed, 21 September 2022 09:55 Go to previous messageGo to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

Peter, this does not work for me:

	B() : A(array), array({}) { //<-------Initialize here


It still gives uninitialized array in DEBUG mode. But this is expected.

John, your intermediate class or struct is really an interesting idea and it surely can do the trick. However, I really need to fix (simplify) my own code to be able to read and understand it even after years have passed.

Thanks to both of you!

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can TheIDE be used in two instances?
Next Topic: Some Questions
Goto Forum:
  


Current Time: Thu May 09 02:31:51 CEST 2024

Total time taken to generate the page: 0.01592 seconds