Hm... so <string> is required for size_type? But according to cppreference.com the vector class has a capacity constructor taking a size_type argument...

Anyway, I tried including <string> but with no luck.

This really is weird. I'm beginning to think the perpetrator is VSC++ 2005... this is after all the first project I'm building since upgrading from 2003...

Either way, any response from someone who might know what the problem is is welcomed. =)