Boost logo

Boost :

Subject: Re: [boost] Is there interest in a library for string-convertible enums?
From: Felix Uhl (felix.uhl_at_[hidden])
Date: 2014-10-29 15:54:30


Jeffrey Bush wrote:

> I have also offered a class for doing this as well, although it didn't draw
> the interest that this one did.
> Here was my attempt at it with a test/example class:
> https://gist.github.com/coderforlife/6d8bac451d49dd1a0c81




Looks good to me, and seems to be quite close to what I aim at.

But the definition seems very user unfriendly. Is it correct that

you always have to declare enums in the public namespace?


---

Felix


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk