在通过vs2010使用boost的date_time库时出现 error C2039:'nullptr_t' :is not a member of 'stlpd_std'\boost_1_53_0\boost\smart_ptr\detail\sp_nullptr_t.hpp(35):error C2039:'nullptr_t' :is not a member of 'stlpd_std'我参考boost程序库完全

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/05 13:33:34
在通过vs2010使用boost的date_time库时出现 error C2039:'nullptr_t' :is not a member of 'stlpd_std'\boost_1_53_0\boost\smart_ptr\detail\sp_nullptr_t.hpp(35):error C2039:'nullptr_t' :is not a member of 'stlpd_std'我参考boost程序库完全
xTMSP+юHLmw풙 i H&Im"ʷRKUC3シt.Lr={NBnu]Io+ڜ_S.%4Sш.Kz,!c{Ԯpv}NVդ-}oqEW%4n9s.!'dK|WG}TIZ"􇣲Ú"M(ʣ@_L >PcnaDp/׻%uO\ e#J$5z ohp̣a6q Y d6x&ҋϕLfΞ2T:*5K-4$SDtmyFYnˠǫ{jLZYso>ΰ]r jnYɩk6@YdL 1iqzCc) ug7=:6ڧPz 'd=cH2[FWb;2{BhVS" ~U

在通过vs2010使用boost的date_time库时出现 error C2039:'nullptr_t' :is not a member of 'stlpd_std'\boost_1_53_0\boost\smart_ptr\detail\sp_nullptr_t.hpp(35):error C2039:'nullptr_t' :is not a member of 'stlpd_std'我参考boost程序库完全
在通过vs2010使用boost的date_time库时出现 error C2039:'nullptr_t' :is not a member of 'stlpd_std'
\boost_1_53_0\boost\smart_ptr\detail\sp_nullptr_t.hpp(35):error C2039:'nullptr_t' :is not a member of 'stlpd_std'
我参考boost程序库完全开发指南这本书,以及网上的一些资料,使用STLport+boost,相应的编译工作也完成了,但最后使用的时候不需要编译的库没有问题,需要编译的库无法编译,给出的错误是\boost_1_53_0\boost\smart_ptr\detail\sp_nullptr_t.hpp(35):error C2039:'nullptr_t' :is not a member of 'stlpd_std'
试了date_time和regex都是这个问题,最后有重新编译boost,发现在编译的过程就会显示\boost_1_53_0\boost\smart_ptr\detail\sp_nullptr_t.hpp(35):error C2039:'nullptr_t' :is not a member of 'stlpd_std',一直搞不清楚问题处在哪

在通过vs2010使用boost的date_time库时出现 error C2039:'nullptr_t' :is not a member of 'stlpd_std'\boost_1_53_0\boost\smart_ptr\detail\sp_nullptr_t.hpp(35):error C2039:'nullptr_t' :is not a member of 'stlpd_std'我参考boost程序库完全
1.5.3版本的boost 增加了对nullptr的定义,这是在1.4.7版本中没有的.而且依赖于STL中对nullptr_t的定义,但是STLport5.2.1版本中没有引入空指针的类型,这是C++11的新标准.要学最新的boost库,还是使用微软本身的STL吧,虽然被喷成渣,但总比没有review的代码要厉害.