
15 Jan
2013
15 Jan
'13
11:33 a.m.
Hello, There's some use of asio::steady_timer in my code (1.51): asio::steady_timer timer_; //....... timer_.expires_from_now(boost::chrono::milliseconds(100)); //...... However, the above appears to be non-portable, as under c++11 steady_timer uses std::chrono, while boost::chrono doesn't seem to "forward" its types to std::chrono. I know I can use asio::basic_waitable_timerboost::chrono::steady_clock explicitly, but maybe there's some more straightforward solution (eg. boost::chrono configuration)? Thanks.