problem with std::list using own type
Eljay Love-Jensen
eljay@adobe.com
Thu Mar 10 13:52:00 GMT 2005
Hi Mariano,
I couldn't get your situation to occur.
Here's the code I used, with GCC 3.4.3 on SunOS 5.8.
-----------------
#include <list>
class Access { };
typedef std::list<Access> AccessList;
typedef std::list<Access>::iterator AccessIt;
int main()
{
AccessList x;
AccessIt i;
}
-----------------
Maybe you could provide a compilable code example that demonstrates the issue.
Thanks,
--Eljay
More information about the Gcc-help
mailing list