Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes:

| On Thu, Mar 22, 2001 at 04:18:20PM +0100, Lars Gullik Bjønnes wrote:
| > 
| > I have some helper classes that can be useful, but not quite finished
| > and tested yet:
| > 
| > template <class E>
| > class EnumSet {
| > ............
| > };
| 
|   Where is it?

right there.
(I have a slightly more updated version in my tree, but it is far from
finished yet.)
 
|   I would only need to replace, bitset < LAST > by EnumSet <char>,
| no?

no.

you would use:

        EnumSet<PAR_TAG> tag_close;

And you would have to change PAR_TAG to:

        enum PAR_TAG {
                NONE = 0,
                TT = 1,
                SF = 2,
                BF = 4,
                IT = 8,
                SL = 16,
                EM = 32
        };

-- 
        Lgb

Reply via email to