|
Boost : |
From: spamjunk (spamjunk_at_[hidden])
Date: 2002-08-25 07:49:32
Its in the files section of the Boost Users' Group on Yahoo.
Supplying just the type does not provide the class enough information.
Types in C++ do not carry ranging information. Unless classes (maybe with
traits) were used, there would be no why to tell the template that the set
had, for example, 10 members.
----- Original Message -----
From: "Keith Burton" <kb_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, August 25, 2002 3:55 AM
Subject: RE: [boost] RFC: Example file for using Pascal-Like Set Class
> 1) I named my equivalent of this enumset
>
> 2) where is your upload ? I did not find it when I looked
>
> 3) In my equivalent , I supplied the storage type to be used rather than
> any information about the range of the enumerated type. This has
> advantages , when applied to existing code , of not requiring additions
> to the enumerated type and ensuring that the 'set' fits into an existing
> data structure.
>
> Keith
>
>
>
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of spamjunk
> Sent: 24 August 2002 17:29
> To: boost
> Subject: [boost] RFC: Example file for using Pascal-Like Set Class
>
>
> I have upload an example code file detailing how to use the Set Class to
> the file's section of the Boost Users' group at Yahoo. I would
> appreciate some comments on the interface. It will help refine it
> before I submit it.
>
> I currenlty have it working with: gcc 3.1 (both Linux and DJGPP), VC++
> 6.0 SP 5, and BCC 5.5.1. Although, BCC currently can't handle the SetOf
> template for created compile-time sets. It seems to get confused with
> template parameter default values.
>
> I am still deciding on a class name. Victor A. Wagner, Jr. suggests
> PowerSet. I am also toying with PascalSet and PackedSet.
>
> Thanks,
>
> Rich
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk