没有Boost.System的Boost.Asio [英] Boost.Asio without Boost.System

查看:114
本文介绍了没有Boost.System的Boost.Asio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

增强系统"页面上据说:

Boost系统库是C ++ 11标准库的一部分.

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

但是许多Boost库(例如Asio)都依赖Boost System.是否可以使用C ++ 11 std代替Boost System与Asio一起使用?

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?

推荐答案

您可以将Boost System配置为仅标头

AFAIR you can configure Boost System to be header-only

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

除此之外,您可以简单地使用非增强型Asio

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

这篇关于没有Boost.System的Boost.Asio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆