
On 6/29/06, Jeff Garland <jeff@crystalclearsoftware.com> wrote:
How about boost.assign:
<snip detail...> Quick quesiton would be, is this static or done during runtime? I also recall that Boost.Fusion already allows you to create static maps, but those are used to index values using types as indexes. It's interesting to be able to do something like an "enum" but where the index is a string/const char * and the value's type is templatized. But then I'd rather use the standard map to do this, since I'll be dealing with the values in runtime anyway. I suppose static maps will make a lot of sense if you need to deal with it in template metaprogramming or even preprocessing... Otherwise, it's just another way of implementing a simple map. -- Dean Michael C. Berris C/C++ Software Architect Orange and Bronze Software Labs http://3w-agility.blogspot.com/ http://cplusplus-soup.blogspot.com/ Mobile: +639287291459 Email: dean [at] orangeandbronze [dot] com