3 ms·
C++11: Implementation of list comprehension in SQL-like form
- SamReidHughes 12y agoOh, come on! Using the preprocessor is cheating!
- TrainedMonkey 12y agoIt is the type of cheating that allows optimizations to be applied to list comprehensions.
- nadams 12y agoI'm not sure if the author was trying to replicate list comprehension or model an ORM. If it's the later - I can imagine much simpler designs[1] [1] - http://i.imgur.com/PseeKH2.png http://i.imgur.com/PseeKH2.png
- pests 12y agoAs the title says he is aiming for List Comprehension, but in SQL form which is where you might be getting ORM from.