linker error when using tr1::regex

余生长醉 提交于 2019-12-02 00:24:55

Regex support for C++0x is incomplete and wasn't there for TR1, see the implementation status page for C++0x/TR1.

Boost offers an alternative TR1 implementation as well as the original library it is based on.

The answer is, even though the header is supplied, some of the methods are not supplied.

One could deduce this from Georg's answer, but after thinking up and coding a hundred lines or so based on the assumption that the nifty library was actually provided, one might be too tired for any further deductions.

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