|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-12-08 16:43:37
"Paul Baxter" <pauljbaxter_at_[hidden]> writes:
> I have a fixed list of parameter names and with each an associated
> set of attributes. I wish to access the attributes via the parameter
> name rather than the equivalent list entry index.
>
> In the past, we've created ENUMs with meaningful names to represent
> the parameter name->index mapping but I can't help feeling there
> must be a better way usng the name directly without this extra
> artificial mapping type.
Is there some reason http://www.boost.org/libs/parameter is not
appropriate for you?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net