[Dev-C++] with constructor not allowed in anonymous aggregate:(
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: anand <ana...@ro...> - 2007-07-17 05:04:00
|
Hi all,
I am doing some porting work where I got one anonymous struct as
Namespace adc
{
Class Vector
{
}
struct
{
Vector col0; //here I am gettng error
Vector col1;
Vector col2;
Vector col3;
};
}
I am getting error as
1012: error: member ' adc::Vector adc::Matrix::<anonymous struct>::col0'
with constructor not allowed in anonymous aggregate
Can some one tell me how to solve this:(
Thanks in Advance
Anand
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
|