Say I have an object of some of stl container classes obj. I can define other object of same type this way:
obj
decltype(obj) obj2;
Yet another workaround until VC++'s parser is fixed to reflect the FDIS is to use the std::identity<> metafunction:
std::identity::type::iterator it = obj.begin();