|
Boost Users : |
Subject: Re: [Boost-users] Enums to/from Strings
From: TONGARI (tongari95_at_[hidden])
Date: 2011-07-22 01:19:11
2011/7/22 John M. Dlugosz <mpbecey7gu_at_[hidden]>
> Any thoughts or pointers on the best way to support rendering and parsing
> of enumerated constants?
> 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.
>
There's Boost.Enums (not part of Boost yet) developed by Vicente, but I'm
not sure the status.
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