Replace Variant with SumType

This commit is contained in:
2022-06-06 09:46:45 +02:00
parent 7dd4c44140
commit 5453c646f6
5 changed files with 49 additions and 431 deletions

View File

@ -226,7 +226,7 @@ if (F.length == 1)
*
* Returns: Accumulated value.
*/
auto foldr(R, T)(scope R range, scope return auto ref T init)
auto foldr(R, T)(scope R range, auto ref T init)
if (isBidirectionalRange!R)
{
if (range.empty)