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 » U++ Library support » U++ Core » Is there a way to fetch objects w/o default constructor?
Is there a way to fetch objects w/o default constructor? [message #18052] Mon, 08 September 2008 11:25 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Simplified code as a description of problem:
class Project
{
    Project(TabCtrl &tabs) {/*add new tab with Project controls*/}
};

class App
{
    void Serialize (Stream &stream) {stream % projects;} //ERROR: no default constructor available
    Array<Project> projects;
    TabCtrl        mainTabs;
};


Is there a way I can fetch my Project objects with auto-adding to the tabs?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Full Support for timezone/DST [FEATURE REQUEST]
Next Topic: CR visibile with notepad
Goto Forum:
  


Current Time: Sun Jul 06 07:20:02 CEST 2025

Total time taken to generate the page: 0.04084 seconds