9 Aug
2019
9 Aug
'19
12:51 p.m.
The Boost.Asio way is to import all chrono symbols into its own namespace:
boost::asio::steady_timer timer; timer.expires_from_now(boost::asio::chrono::seconds(5)); // Okay
PS: I am not arguing for or against the project, nor am I recommending any particular solution. I am just sharing some experience.
I use the local namespace bind approach in my own libraries. Then people do nialllib::filesystem::path, or whatever. Niall