Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-12 14:04:27


on Wed Jul 11 2007, "Jake Voytko" <jakevoytko-AT-gmail.com> wrote:

> Splitting the difference (or so I hope) between easy trees/expressiveness
> and standard syntax, how about something like this?
>
> root.push_front
> (
> tag("Article Info",
> (title ? (comment("This title was moved"), title) : NULL)
> (tag("author",
> (tag("firstname", "Joe"))
> (tag("surname", "Random"))
> ))
> )
> );

How does that improve things?
What do you mean by "standard syntax?"

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk