|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-07-11 23:13:56
on Wed Jul 11 2007, "Phil Endecott" <spam_from_boost_dev-AT-chezphil.org> wrote:
> I think that using subclasses is the key to making this sort of
> code easier on the eye:
>
> struct firstname: public element {
> firstname(n): element("firstname",n) {};
> };
>
> etc.
You're already headed off in a harder-to-read direction from my point
of view.
-- 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