We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d53b563 + 7063200 commit f95cd32Copy full SHA for f95cd32
std/functional.d
@@ -1349,7 +1349,8 @@ template memoize(alias fun)
1349
alias memoize = impl;
1350
}
1351
1352
- auto impl(Args...)(Args args) if (is(typeof(fun(args))))
+ auto impl(Args...)(Args args)
1353
+ if (is(typeof(fun(args))))
1354
{
1355
import std.typecons : Tuple, tuple;
1356
import std.traits : Unqual;
@@ -1393,7 +1394,8 @@ template memoize(alias fun, uint maxSize)
1393
1394
1395
1396
1397
1398
1399
1400
static if (args.length > 0)
1401
0 commit comments