Re: problem with std::list using own type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux