Lack of `outer` keyword makes inner class dup implossible
Derek Parnell
derek at psych.ward
Fri Jul 14 19:16:16 PDT 2006
On Sat, 15 Jul 2006 06:20:12 +1000, S. <S._member at pathlink.com> 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
Excuse my ignorance, but what does an inner class provide that other
alternatives can't?
--
Derek Parnell
Melbourne, Australia
More information about the Digitalmars-d
mailing list