Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 1999-07-01 11:26:38

At 04:24 PM 7/1/99 +0200, Valentin Bonnard wrote:

>> >- Add a member function or constant to allow programatic access
>> >time limit of the implementation before overflow occurs.
>> Good idea. Hum... How do you implement that using <ctime>? I will
>> have to ask some C experts, but it looks to me like you just came
>> with a hole in the C standard! I have sent a message to the
>> committees asking for information.
>std::numerical_limits<time_t>::max () ?

What is needed is CLOCK_T_MAX or similar, which may be less than the
max value for the underlying type.

I have already had a couple of responses from the C committee people,
with at least one suggesting the need for a fix in time.h.

But for now it looks like a max() function would have to be hand
supplied for each implementation.


------------------------------------------------------------------------ home: - Simplifying group communications

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