|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-08-14 19:38:02
"Brock Peabody" <brock.peabody_at_[hidden]> writes:
> 2) With this done it's not too hard to write a non-intrusive DSEL for
> binding on top of it. I wrote one that supports dependent tables,
> automatic mapping to STL containers, boost::optional, and common data
> types like boost::posix_time::ptime. A simple example of the language
> might look like:
>
> table("customer") [
>
> *field("id") = &customer::id,
> field("name") = &customer::name,
> field("number") = &customer::number,
>
> table("tax_exempt")[
>
> -field("customer"),
> field("state_id") = &tax_exempt_data::state_id
> ]
> = &customer::tax_exempt
> ];
>
This feels like it has some overlap with the serialization library.
No?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk