您的位置:首页 > 其它

VS2005 VS2010 error C2039: back_inserter : is not a member of std

2012-07-18 15:37 706 查看
需要#include <iterator>

You probably forgot #include <iterator> in some of your files. That’s where things like
back_insert_iterator are declared.

In the past, you could get away with forgetting that header file, since many of the other standard headers also included it.
VS2010 reorganized the headers for its library implementation to be more standards compliant. As a result, it’s much less forgiving of missing headers, and
<iterator> is a commonly overlooked one.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: