Boost logo

Boost Users :

Subject: [Boost-users] Enums to/from Strings
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2011-07-22 01:05:48

Any thoughts or pointers on the best way to support rendering and parsing of enumerated
Some only need to be printed, as for debug messages.
Others need to be parsed as well, such as from a configuration file.

I'm thinking the solution should provide for uniform access to the conversion including
existing uses such as feeding an enumeration constant to Boost.Format and having it
automatically render as the string.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at