buggins / ddbc

DDBC is DB Connector for D language (similar to JDBC)
78 stars 45 forks source link

Fix "static if" clauses in pod.d per "Programming in D" pg 429 note: #19

Closed jamonahn closed 8 years ago

jamonahn commented 8 years ago

Note that one must write else static if when chaining static if clauses. Otherwise, writing else if would result in inserting that if conditional into the code, which would naturally be executed at run time.

ps. I kept having problems with quill-d ability to use ubyte[]. Still working on it but noticed it was at the end of your static if's. Don't know if this helps yet.