Throw an exception but "hide" the top frame?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 24 06:12:52 PST 2014


On Wednesday, 24 December 2014 at 14:04:51 UTC, aldanor wrote:
>         auto check(string file = __FILE__, int line = 
> __LINE__)(int x) {

You can just do regular params (most the time), don't have to be 
template params. My last email shows that too. Then it doesn't 
make new templates on each use.


More information about the Digitalmars-d-learn mailing list