![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
|
constexprnoexcept |
Helper for duration_cast implementation that handles different conversion cases.
| ToDuration | The target duration type |
| ConversionFactor | The conversion factor ratio |
| CommonRep | The common representation type used for the conversion |
| Rep | The representation type of the source duration |
| count | The current number of ticks |
Note: This handles the default case where ConversionFactor::num != 1 and ConversionFactor::den != 1 (section 2.4 of the C++ standard).
|
constexprnoexcept |
Helper for duration_cast implementation that handles different conversion cases.
| ToDuration | The target duration type |
| ConversionFactor | The conversion factor ratio |
| CommonRep | The common representation type used for the conversion |
| Rep | The representation type of the source duration |
| count | The current number of ticks |
Note: This handles the case where ConversionFactor::num != 1 and ConversionFactor::den == 1 (section 2.2 of the C++ standard).
|
constexprnoexcept |
Helper for duration_cast implementation that handles different conversion cases.
| ToDuration | The target duration type |
| ConversionFactor | The conversion factor ratio |
| CommonRep | The common representation type used for the conversion |
| Rep | The representation type of the source duration |
| count | The current number of ticks |
Note: This handles the case where ConversionFactor::num == 1 and ConversionFactor::den != 1 (section 2.3 of the C++ standard).
|
constexprnoexcept |
Helper for duration_cast implementation that handles different conversion cases.
| ToDuration | The target duration type |
| ConversionFactor | The conversion factor ratio |
| CommonRep | The common representation type used for the conversion |
| Rep | The representation type of the source duration |
| count | The current number of ticks |
Note: This handles the case where ConversionFactor::num == 1 and ConversionFactor::den == 1 (section 2.1 of the C++ standard).
|
externconstexpr |
Variable template indicating if the given operation is noexcept for the given duration types.
| BinaryOp | Function object representing the operation to check |
| Duration1 | The first duration type |
| Duration2 | The second duration type |
|
externconstexpr |
Variable template indicating if the given operation is noexcept for the given scalar types.
| BinaryOp | Function object representing the operation to check |
| Rep1 | The first scalar type |
| Rep2 | The second scalar type |