level 11
我遇到有些代码能自动提示,有些能,如下:
boost::asio::deadline_timer t(ios,boost::posix_time::seconds(3));
t.后面wait能提示,但async_wait不能提示;
还有
io_service service;
ip::tcp::endpoint ep( ip::address::from_string("127.0.0.1"), 2001);
service.后面函数能提示,而ep.后面函数无法提示, 这个是为什么? 需要怎么设置?
2014年02月10日 07点02分
1
boost::asio::deadline_timer t(ios,boost::posix_time::seconds(3));
t.后面wait能提示,但async_wait不能提示;
还有
io_service service;
ip::tcp::endpoint ep( ip::address::from_string("127.0.0.1"), 2001);
service.后面函数能提示,而ep.后面函数无法提示, 这个是为什么? 需要怎么设置?