Expression template
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jul 23 12:08:45 PDT 2016
2OP: sorry, i can barely read that code. this has nothing to do
with your skills, it is the topic -- i've never seen clean lazy
evaluation code. after all, this is a hack.
still, i think that such a library worth at least some work.
as for "is my code/approach is good enough", i know only two
answers.
1. yes, 'cause it works.
2. no, 'cause it doesn't work.
so if your code works, it is good. ;-)
i mean that such hacks will be somewhat ugly anyway, so just
write a brief explanation in comments and go on.
sorry, it is probably not what you wanted to hear... ;-)
More information about the Digitalmars-d-learn
mailing list