Recently I am having many problem with typedef and incomplete type when I changed certain containers, allocators in my code.
What I had previously
st
Compiller doesn't know the size of incomplete type, therefore it can not instantiate it nor allocate some memory for it. Having a pointer to object (like typedef std::tr1::array all_foos; ) instead of instance of the object itself solves this issue.
typedef std::tr1::array all_foos;