How to get rid of "nothrow" ?

drug drug2004 at bk.ru
Tue May 19 05:31:22 UTC 2020


On 5/18/20 11:47 PM, Vinod K Chandran wrote:
> On Sunday, 17 May 2020 at 19:37:05 UTC, drug wrote:
>> 17.05.2020 17:35, Vinod K Chandran пишет:
>>>
>>> It worked. Thanks :) I have one more question. Which is better, to 
>>> include all the switch cases inside a single try catch or write 
>>> separate try catch for each switch cases ?
>>
>> all the switch cases inside a single try catch is better
> 
> Thanks a lot. :)

Frankly speaking in some cases separate try catch blocks will be more 
suitable but while you do not see the difference in your case then use 
the single block for everything


More information about the Digitalmars-d-learn mailing list