1 // https://bugzilla.gdcproject.org/show_bug.cgi?id=71
4 struct CanonicalHuffman
14 struct SortedRange(alias pred
)
19 auto assumeSorted(alias pred
, R
)(R
)
21 return SortedRange
!pred();
24 SortedRange
!(less
) sort(alias less
, Range
)(Range r
)
26 return assumeSorted
!less(r
);