8 Dec
2005
8 Dec
'05
9:43 p.m.
"Paul Baxter"
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