phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
bijectToUnsigned
nxt
bijections
Same as
bijectToUnsigned
with extra argument
descending
that reverses order.
auto
bijectToUnsigned
(T a)
auto
bijectToUnsigned
(T a, bool descending)
pragma(
inline
) @
safe
pure nothrow @
nogc
auto
bijectToUnsigned
(
T
)
(
T
a
,
bool
descending
)
if
(
isIntegralBijectableType
!
T
)
Meta
Source
See Implementation
nxt
bijections
aliases
IntegralBijectableTypes
enums
isIntegralBijectableType
functions
bijectFromUnsigned
bijectToUnsigned
ff
iff
Same as bijectToUnsigned with extra argument descending that reverses order.