On 2012-10-30 04:22, BLM768 wrote:

If you make x some fancy wrapper type containing more fancy wrapper
types with overloaded equality operators that return some sort of
Expression class instead of a boolean, you might actually be able to get
this to work with only D's current features. However, that would kind of
destroy the hope of efficiency. :)

It can probably all be handled at compile time. The problem with this that you cannot overload the following operators: &&, ||, != and probably some other useful operators.

What might be nice is a database written in D that completely eschews
SQL in favor of a native API. I might have to play with that eventually,
but I'll probably give it a while because it would be a huge project,
and, like most people, I'm under time constraints. :)

Yeah, I know.

--
/Jacob Carlborg

Reply via email to