简体   繁体   English

Microsoft C ++中的Boost库

[英]boost library in microsoft c++

我使用的是Microsoft Visual C ++ 2010,我可以使用Boost库还是需要其他编译器?

From the most recent version of Boost's release notes: Boost的最新版本发行说明中:

  • Linux: Linux:
    • Intel 10.1, 11.1 on 32 bit Red Hat Enterprise Linux. 32位Red Hat Enterprise Linux上的Intel 10.1、11.1。
    • Intel 10.1, 11.0, 11.1 on 64 bit Red Hat Enterprise Linux. 64位Red Hat Enterprise Linux上的Intel 10.1、11.0、11.1。
    • GCC 3.4.6, 4.2.4, 4.3.4, 4.4.3 on Red Hat Enterprise Linux. Red Hat Enterprise Linux上的GCC 3.4.6、4.2.4、4.3.4、4.4.3。
    • GCC 4.3.4, 4.4.3 with C++0x extensions on Red Hat Enterprise Linux. 在Red Hat Enterprise Linux上具有C ++ 0x扩展的GCC 4.3.4、4.4.3。
    • QLogic PathScale(TM) Compiler Suite: Version 3.2 on Red Hat Enterprise Linux. QLogic PathScale(TM)编译器套件:Red Hat Enterprise Linux上的3.2版。
  • OS X: OS X:
    • Intel C++ Compiler 10.1, 11.0, 11.1 on Leopard. Leopard上的Intel C ++编译器10.1、11.0、11.1。
    • GCC 4.0.1 on Intel Leopard. 英特尔Leopard上的GCC 4.0.1。
    • Clang from subversion. 从颠覆的lang。
  • Windows: 视窗:
    • Visual C++ 8,0, 9,0 on 32-bit XP. 在32位XP上为Visual C ++ 8,0,9,0。
    • Visual C++ 9.0 using STLport 5.2 on XP and Windows Mobile 5.0. 在XP和Windows Mobile 5.0上使用STLport 5.2的Visual C ++ 9.0。
    • Visual C++ 10.0 on XP. XP上的Visual C ++ 10.0。
    • Visual C++ 10.0 on 64-bit Windows 7. 64位Windows 7上的Visual C ++ 10.0。
    • Borland/Codegear C++ 5.9.3, 6.1.3 (2009), 6.2.1 (2010). Borland / Codegear C ++ 5.9.3、6.1.3(2009),6.2.1(2010)。
    • Intel C++ 11.1, with a Visual C++ 9.0 backend, on Vista 32-bit. 在32位Vista上具有Visual C ++ 9.0后端的Intel C ++ 11.1。
    • GCC 4.3.3 on Mingw. Gingw上的GCC 4.3.3。
    • GCC 4.4.3 on Mingw, with and without C++0x extensions. Mingw上的GCC 4.4.3,带有和不带有C ++ 0x扩展。
    • GCC 4.5 on Mingw. Gingw上的GCC 4.5。
  • AIX: AIX:
    • IBM XL C/C++ Enterprise Edition, V10.1.0.0, on AIX Version 5.3.0.40. AIX版本5.3.0.40上的IBM XL C / C ++企业版V10.1.0.0。
  • FreeBSD: FreeBSD:
    • GCC 4.2.1 on FreeBSD 7.2, 64 bit. FreeBSD 7.2上的GCC 4.2.1(64位)。
    • GCC 4.2.1 on FreeBSD 8.0, 32 bit. FreeBSD 8.0上的GCC 4.2.1(32位)。
  • Solaris: Solaris:
    • Sun C++ 5.10 on Solaris 5.10. Solaris 5.10上的Sun C ++ 5.10。

Boost is basically an C++ extension. Boost本质上是C ++扩展。 It compiles with every standard compliant c++ compiler. 它可以与所有符合标准的c ++编译器一起编译。

Boost is tested against all major C++ compilers, including Visual C++ Boost已针对所有主要的C ++编译器(包括Visual C ++)进行了测试

UPDATE: Krill found the Compilers Tested link before me, so I'll just add that Microsoft is a sponsor of Boost (I think the contributed compilers for testing), and several regular contributors to Boost have day-jobs at Microsoft. 更新:Krill在我之前找到了Compilers Tested链接,因此,我只补充说Microsoft是Boost的赞助商(我认为是供测试用的编译器),并且Boost的几位定期撰稿人都在Microsoft工作。

检查“编译器测试”一节在这里 ,在列表中的Visual C ++。

Yes you can! 是的你可以! Tried & working! 尝试和工作!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM