"John D" <[email protected]> wrote in message news:[email protected]... > > "Walter Bright" <[email protected]> wrote in message > news:[email protected]... >> John D wrote: >>> Commonly called "2 step construction". But you forgot to add the check >>> on the return val from c.create(). >> >> No need to - c.create() should throw if it fails. >> > > What's the point of doing 2-step construction if not to avoid exceptions? >
To avoid having a constructor that throws exceptions...Although I still fail to see how it's useful to avoid that in D.
