Return whether this interval fits in DURATION_TYPE.
Synopsis
Declared in <bsls_timeinterval.h>
template<class DURATION_TYPE>
bool
isInDurationRange() const
requires TimeInterval_IsDuration<DURATION_TYPE>::value;
Description
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.
Return Value
true if this interval is within the valid range of DURATION_TYPE; false otherwise
Created with MrDocs