try & catch / repeating code - DRY

Robert M. Münch robert.muench at saphirion.com
Wed May 23 07:47:19 UTC 2018


On 2018-05-22 18:34:34 +0000, Ali ‡ehreli said:

> An idiom known in C++ circles is a Lippincott function:
> 
>    https://cppsecrets.blogspot.ca/2013/12/using-lippincott-function-for.html
> 
> Just wanted to mention that it can be a part of a clean solution.

Thanks, and I assume that D has the same property WRT exception 
re-throwing as C++, right?

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list