Boost logo

Boost :

Subject: Re: [boost] [release][1.52.0] Release Notes
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-10-12 12:35:00

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_at_[hidden]> 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.
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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at