<div class="gmail_quote">2011/7/22 John M. Dlugosz <span dir="ltr"><<a href="mailto:mpbecey7gu@snkmail.com">mpbecey7gu@snkmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> Any thoughts or pointers on the best way to support rendering and parsing of enumerated constants?<br> Some only need to be printed, as for debug messages.<br> Others need to be parsed as well, such as from a configuration file.<br> <br> 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.<br></blockquote> <div><br>There's Boost.Enums (not part of Boost yet) developed by Vicente, but I'm not sure the status.<br><br>See:<br><a href="http://svn.boost.org/svn/boost/sandbox/enums/libs/enums/doc/html/index.html#boost.enums.users_guide.tutorial.str">http://svn.boost.org/svn/boost/sandbox/enums/libs/enums/doc/html/index.html#boost.enums.users_guide.tutorial.str</a> <br> </div></div><br>