bitsets in C++ using VS2010

你。 提交于 2019-12-01 21:07:38

It's a bug in VC according to http://connect.microsoft.com/VisualStudio/feedback/details/532897/problems-constructing-a-bitset-from-an-unsigned-long-in-the-vc-rc

Also note that identifiers starting with _ and a capital letter are reserved for the implementation and illegal to use in your program.

EDIT: According to the workaround page (if I read it right), the workaround is to cast your value to unsigned long long instead of unsigned long.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!