This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: problem with std::list using own type
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Mariano Guadagnini <mariano at uvcms dot net>, gcc-help at gcc dot gnu dot org
- Date: Thu, 10 Mar 2005 07:30:42 -0600
- Subject: Re: problem with std::list using own type
- References: <422F6464.6090503@uvcms.net>
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