Boost.Asio without Boost.System

2019-02-15 13:22发布

问题:

On the Boost System page it is stated that:

The Boost System Library is part of the C++11 Standard Library.

But a number of Boost libraries, such as Asio, depend on Boost System. Is it possible to use the C++11 std stuff instead of Boost System to work with Asio?

回答1:

AFAIR you can configure Boost System to be header-only

Source: http://www.boost.org/doc/libs/1_66_0/libs/system/doc/reference.html

Other than that, you might simply use Non-Boost Asio