BloombergLP::bsls::TimeInterval::isInDurationRange

Return true if the value of this time interval is within the valid range of the parameterized DURATION_TYPE, and false otherwise. Note that this function does not participate in overload resolution unless DURATION_TYPE is an instantiation of std::chrono::duration.

Synopsis

Declared in <bsls_timeinterval.h>

template<class DURATION_TYPE>
bool
isInDurationRange(int* = 0) const
requires TimeInterval_IsDuration<DURATION_TYPE>::value;