"John D" <[email protected]> wrote in message 
news:[email protected]...
>
> "Walter Bright" <[email protected]> wrote in message 
> news:[email protected]...
>> John D wrote:
>>> "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?
>>
>> It's so the default initialization cannot fail, which is handy in cases 
>> where dealing with failure is problematic.
>
> Pffft.  Said the backend compiler writer. So let it be written.
>

Why are you even here?


Reply via email to