开发者

Boost Enum 256 Element Limit

I'm using the enum v4.6 library from the Boost Vault (mentioned here [stackoverflow.com]), but have come across an element limit of 256 (that is, the max number of elements per enum = 256).

I understand this has something to do with the boost preprocessor library and some investigation led me to boost/preprocessor/config/limits.hpp, but changing these values had no effect开发者_如何学Go since they are purely "informational" (link [groups.google.com])

Is there any way of increasing this limit?


Unfortunately, there is no way to increase the upper limit of elements/arguments you can use with the Boost preprocessor library. Therefore, since the enum library depends on Boost.PP you seem to be out of luck.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜