A fun pseudocode example of what I'm trying to do:
this(...){ foreach(argument){ if(argument is a number){ do stuff with it; }else if(argument is of type A){ do other stuff; }else if(argument is of type B){ yet more stuff; } } }
pineapple via Digitalmars-d-learn Wed, 20 Jan 2016 04:41:12 -0800
A fun pseudocode example of what I'm trying to do:
this(...){ foreach(argument){ if(argument is a number){ do stuff with it; }else if(argument is of type A){ do other stuff; }else if(argument is of type B){ yet more stuff; } } }