C++ to D - recursion with std.variant
thedeemon via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Apr 5 02:47:59 PDT 2015
On Friday, 3 April 2015 at 16:46:08 UTC, Dennis Ritchie wrote:
> Hi,
> Is it possible to write on D recursion using std.variant?
Using Algebraic from std.variant and some additional templates:
http://dpaste.dzfl.pl/65afd3a7ce52
(taken from this thread:
http://forum.dlang.org/thread/yidovyrczgdiveqbaljw@forum.dlang.org?page=1
)
More information about the Digitalmars-d-learn
mailing list