|
Boost : |
From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-07-07 06:39:15
Alexander Nasonov <alnsn-mycop_at_[hidden]> wrote:
>> From user point of view it's easy. Every class is described using intuitive
> class-decl-like style:
>
> void describe_Driver(descriptor<Driver>& class_)
> {
> class_("Driver").derived_from<Person>()
> [
> member(&Driver::licence_id, "licence_id"), // note comma operator
> member(&Driver::licence_issue_date, "licence_issue_date")
> ];
> }
Cool syntax! Hmmm.... Reminds me of Boost.Python, luabind and ahem... Phoenix ;-)
-- Joel de Guzman joel at boost-consulting.com http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk