
Le 12/10/12 18:18, Andrey Semashev a écrit :
On Fri, Oct 12, 2012 at 8:01 PM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
Hi,
sorry for the imprecision. I meant that all the interfaces using Boost.DateTime posix_time are now deprecated. From the doc"
The time related functions introduced in Boost 1.35.0, using the Boost.DateTime library are deprecated. These include (but are not limited to):
boost::this_thread::sleep() thread::timed_join() condition_variable::timed_wait() timed_mutex::timed_lock()
" Hmm, I don't really like this. I don't want to add a dependency on Boost.Chrono in Boost.Log, which depends on Boost.DateTime anyway. Hi, Why you don't want to depend on Boost.Chrono?
Why are these interfaces deprecated? These interfaces are deprecated since 1.50. IMO the chrono based interfaces replace quite well the date_time based interface, so if the functionality is provided with a better interface, it is normal to deprecate the old one. Why not keep them as they are?
I could keep them, but I would prefer to reduce the code to maintain. Best, Vicente