This compile time constant is true if std::chrono::duration<REP, PERIOD> objects will be implicitly converted to TimeInterval, and false otherwise. This value is intended to be used with enable_if to enable implicitly converting function overloads. Note that this boolean value is mutually exclusive with k_EXPLICIT_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_IMPLICIT_CONVERSION_ENABLED = !k_IS_FLOAT &&  k_IS_IMPLICIT;

Created with MrDocs