Why does my simple cpp-netlib program take so long to compile?
问题 I recently started learning cpp-netlib and am testing out one of netlibs example programs #include <boost/network/protocol/http/client.hpp> #include <iostream> int main() { using namespace boost::network; http::client client; http::client::request request("http://www.boost.org"); request << header("Connection", "close"); http::client::response response = client.get(request); std::cout << body(response) << std::endl; return 0; } After many hours of research I found that the proper command I