U++ framework
Do not panic. Ask here before giving up.

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: Sat Nov 21 20:38:21 GMT+1 2026

Total time taken to generate the page: 0.00688 seconds