BloombergLP::bsls::TimeInterval_DurationTraits::k_EXPLICIT_CONVERSION_ENABLED

This compile time constant is true if std::chrono::duration<REP, PERIOD> objects can be explicitly converted to TimeInterval, and false otherwise. This value is intended to be used with enable_if to enable explicitly converting function overloads. Note that this boolean value is mutually exclusive with k_IMPLICIT_CONVERION_ENABLED as in they will never be both true for the same REP" and PERIOD', but they may be both false for floats.

Synopsis

Declared in <bsls_timeinterval.h>

static
bool const k_EXPLICIT_CONVERSION_ENABLED = !k_IS_FLOAT && !k_IS_IMPLICIT;