Function Try

Creates a Try range out of an alias to a function that could throw.

auto auto Try(alias fun)();

auto auto Try(alias fun, Arg) (
  auto ref Arg arg
);

Calling any range functions on a try range will resolve the delegate and produce a front range value if the function did not throw.

You may also call ddash.utils.match on the try range.

See Also

ddash.functional.try_

Since

0.8.0