3

as a zealous fan of portable C++ :) I recommended to my boss to try to implement one project with C++11 and Boost(Instead of relying on #if and OS specific stuff), and Im confident we can do it with C++11 + Boost.

Now (as a fan of generalizing:) ) Im wondering what are the things that can't be done portably with c++11 + boost.

Afaik std::atomic removes need for Interlocked*, boost has ASIO for sockets, std and boos have threads and mutexes, boost has filesystem...

EDIT: ignore reality of partial support of C++11, lets assume total C++11 compiler support.

4

1 回答 1

-1

实际上,这取决于您在 Windows 和 Linux 中使用的编译器。

您可以在此处查看支持矩阵。有了它,您将确切地知道您将能够使用哪些功能,具体取决于您在 Linux 和 Windows 中的编译器。

于 2012-10-23T08:11:13.367 回答