exceeds-expectations ~master (2021-10-02T23:03:05Z)
Dub
Repo
CommonDefaultFor
exceeds_expectations
utils
This is defined in std.math but it's private.
template
CommonDefaultFor
(T, U)
package
template
CommonDefaultFor (
T
U
) {
import
std
.
algorithm
.
comparison
:
min
;
;
alias
baseT
=
FloatingPointBaseType
!
T
;
alias
baseU
=
FloatingPointBaseType
!
U
;
package
enum
CommonType
!(
baseT
,
baseU
)
CommonDefaultFor
;
}
template
FloatingPointBaseType
(T)
Members
Aliases
baseT
alias
baseT
=
FloatingPointBaseType
!
T
Undocumented in source.
baseU
alias
baseU
=
FloatingPointBaseType
!
U
Undocumented in source.
Variables
CommonDefaultFor
enum
CommonType
!(
baseT
,
baseU
)
CommonDefaultFor
;
Undocumented in source.
Meta
Source
See Implementation
exceeds_expectations
utils
templates
CommonDefaultFor
variables
canCompareForEquality
This is defined in std.math but it's private.