On 2011-08-09 09:30, Jonas Drewsen wrote:
Just stumbled upon this db orm for c++ that uses the gcc frontend to
rewrite c++ code to make classes suitable for database access.

http://www.codesynthesis.com/products/odb/

They are using pragmas to accomplish this. I guess an equally good
implementation in D would use custom attributes for this once (if) they
are supported.

/Jonas

I'm pretty sure you can create an ORM library like that with what we already have in D today. If needed, mixins can be used like custom attributes, but it will look very ugly.

--
/Jacob Carlborg

Reply via email to