原因:默认参数用的assignment,而不是reference,要知道ostream并没有实现copy constructor/assignment operator(通过bing.com搜索Error C2280即可找到相关主题)
解决办法:将std::ostream os = std::cout修改为std::ostream& os = std::out
Error C2280
原文:http://www.cnblogs.com/qrlozte/p/4371457.html