On Fri, 03 Jul 2009 17:42:45 -0400, Mike L.
wrote:
module test;
import std.stdio;
abstract class Parent
{
int opApply(int delegate(ref int) dg)
{
int fakeDelegate(ref uint fake, ref int content)
{ return dg(content); }
Apparently I'm missing some basic concept about how D does OO since I
recreated the problem with a simpler function. I'll re-examine things...
Hello, can anybody explain why the following code compiles with -version=works
but not without?
module test;
import std.stdio;
abstract class Parent
{
int opApply(int delegate(ref int) dg)
{
int fakeDelegate(ref uint fake, ref int content)