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 21:06:45

Artyom Tokmakov wrote:

> Have you considered X-macro trick?

Yes, and I heavily dislike the syntax. I played around with it a bit

and it is absolutely not feasible for this use case.

My goal is a simple, intuitive and easy to use syntax.

With xmacros you’d have to define an enum in a separate file,

Which only makes sense for really, really large enumerations.

Boost list run by bdawes at, gregod at, cpdaniel at, john at