[nem-en] closure in ctor, this in ctor

Michal Moskal michal.moskal at gmail.com
Sun Apr 1 16:27:15 CEST 2007


On 4/1/07, Dmitry Ivankov <divanorama at gmail.com> wrote:
> One more question:
> this (){
>  mutable x = 0;
>  while (x < 2) { ++x; when (x == 1) base (); }
> }

I guess calling base ctor in a loop is hardly useful. Just disallow it.

-- 
   Michał


More information about the devel-en mailing list