标签: boost-asio
我正在尝试使用boost的network_v4类,并包括network_v4文档中所述的boost/asio.hpp便利标头。 实际上,它不包含在其中,并且出现'network_v4': is not a member of 'boost::asio::ip'错误。仅包含boost/asio/ip/network_v4.hpp标头即可解决此问题。这正常吗?
boost/asio.hpp
'network_v4': is not a member of 'boost::asio::ip'
boost/asio/ip/network_v4.hpp