1 #include2 #include 3 #include 4 using namespace boost::asio; 5 int main() 6 { 7 io_service ios; 8 deadline_timer t(ios,boost::posix_time::seconds(2)); 9 std::cout< <
本文共 317 字,大约阅读时间需要 1 分钟。
1 #include2 #include 3 #include 4 using namespace boost::asio; 5 int main() 6 { 7 io_service ios; 8 deadline_timer t(ios,boost::posix_time::seconds(2)); 9 std::cout< <
转载于:https://www.cnblogs.com/Adrian99/p/3146394.html