This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with std::list using own type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]