Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Angus Leeming <[EMAIL PROTECTED]> writes: | > | Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | > | Hmmmm, if memory serves me right, forward declarations like this with | > | std::containers are strictly illegal. | | > This is not a standard container... we have full control over its | > prototype. | | I understand your point, but is that the reason that the previous code was | found to be illegal? (Sorry, my memory is hazy tonight:()
Yes. The standard library is free to add more template arguments to the prototypes. Ones that we know nothing about, so when using the standard libarary the only safe options is to include the correct heard. In this case we are in full control and can do whatever we please (isn't it nice? :-) ) I belive there is now problem. -- Lgb