[OT] Re: Lack of `outer` keyword makes inner class dup implossible

S. user at pathlink.com
Fri Jul 14 17:47:51 PDT 2006


On 2006-07-14 13:48:14 -0700, BCS <BCS at pathlink.com> said:

> S. wrote:
>> It seems that because inner classes lack an `outer` keyword it is 
>> impossible for
>> them to create a new instance for the purpose of COW when operators like opCom
>> are called...
>> 
>> sudoku.d(318): outer class Foobar 'this' needed to 'new' nested class BarBar
>> 
>> 
> 
> sudoku.d as in the game? What does the program do? Is it a generator, a 
> solver, or a player? I ask because I have a solver done and would be 
> interested in comparing them.

Yes, I'm fiddling around with an analytical solver.  Mine currently 
doesn't solve as many as I would like.  I only implemented three 
elimination methods so far.

-S




More information about the Digitalmars-d mailing list