Re: [Boost-bugs] [Boost C++ Libraries] #3713: no straightforward way to convert fractional number of seconds to time duration

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3713: no straightforward way to convert fractional number of seconds to time duration
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-08 06:27:42


#3713: no straightforward way to convert fractional number of seconds to time
duration
---------------------------------------------------+------------------------
  Reporter: Paul Pogonyshev <pogonyshev@…> | Owner: az_sw_dude
      Type: Feature Requests | Status: new
 Milestone: Boost 1.42.0 | Component: date_time
   Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------+------------------------
Changes (by Vicente Botet <vicente.botet@…>):

 * cc: vicente.botet@… (added)

Comment:

 You can use also seconds

 {{{
 condition.timed_wait (lock, seconds(num_seconds))
 }}}

 The implicit conversion from double to seconds is not a good idea. I think
 you should close this ticket.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3713#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC