Boost logo

Boost :

From: Frank Laub (frank.laub_at_[hidden])
Date: 2005-12-22 05:54:04


On 12/22/05, Richard Jennings <richard.jennings_at_[hidden]> wrote:
>
> Here's a request for an extension to ENUM_VALUES for you to consider.
> [snip]
> And then a method something like:
> const char* description() const;
>
> Would anyone else find this useful?

This is very similar to my very first cut at this that is used at my office.
I called this 3rd field a 'comment', but description is a nice name too.
I've designed the macros so that it is easy to add a 3rd column. If there
really are some fans of this flavor, I'd be happy to add it.

-Frank


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