Boost logo

Boost :

From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2019-08-09 12:51:09


> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk