public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: <bitset> in egcs?
@ 1998-11-04 12:28 Thomas Matelich
  1998-11-05  0:28 ` Gerald Pfeifer
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Matelich @ 1998-11-04 12:28 UTC (permalink / raw)
  To: egcs mailing list

I initially accepted the vector<bool> explanation, but looking at the
SGI STL Programmer's Guide (www.sgi.com/Technology/STL ), it not only
describes bitset as different than vector<bool> but it is provided in
the distribution.  Is there a reason that the version included by egcs
is out of date?

--
Thomas O Matelich
Senior Programmer
Zetec, Inc.
tmatelich@zetec.com
tomsara@slip-stream.net




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: <bitset> in egcs?
  1998-11-04 12:28 <bitset> in egcs? Thomas Matelich
@ 1998-11-05  0:28 ` Gerald Pfeifer
  1998-11-06  8:00   ` Joe Buck
  0 siblings, 1 reply; 8+ messages in thread
From: Gerald Pfeifer @ 1998-11-05  0:28 UTC (permalink / raw)
  To: Thomas Matelich; +Cc: egcs mailing list

On Wed, 4 Nov 1998, Thomas Matelich wrote:
> [STL] Is there a reason that the version included by egcs
> is out of date?

The current CVS mainline and snapshots have the current STL, it's just the
1.1-release branch that has an older version -- for stability reasons, as
I understood (i.e., as not to introduce untested code into the release).

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: <bitset> in egcs?
  1998-11-05  0:28 ` Gerald Pfeifer
@ 1998-11-06  8:00   ` Joe Buck
  0 siblings, 0 replies; 8+ messages in thread
From: Joe Buck @ 1998-11-06  8:00 UTC (permalink / raw)
  To: pfeifer; +Cc: tomsara, egcs

> On Wed, 4 Nov 1998, Thomas Matelich wrote:
> > [STL] Is there a reason that the version included by egcs
> > is out of date?
> 
> The current CVS mainline and snapshots have the current STL, it's just the
> 1.1-release branch that has an older version -- for stability reasons, as
> I understood (i.e., as not to introduce untested code into the release).

The new STL is reasonably stable, but it would represent an interface
change, so when 1.1 came out we decided it should wait until 1.2.
(The new SGI STL came out after the 1.1 codefreeze but before the release,
otherwise it might have gone into 1.1).

When this decision was made I thought we were saying that 1.2 wouldn't
be that ambitious, so it would quickly follow 1.1, but since then
there has been a lot of work.  So the criteria for the 1.2 release haven't
really been set.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: <bitset> in egcs?
  1998-11-02  7:12 Kühl, Dietmar
@ 1998-11-02  8:20 ` Richard Dubois
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Dubois @ 1998-11-02  8:20 UTC (permalink / raw)
  To: Kühl, Dietmar; +Cc: egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

 SGI has indeed implemented bitset. It appears that it will be included in an
upcoming version of egcs. It is already in the egcs CVS repository; it's just
not in 1.03 or 1.1 yet!

Thanks,

Richard

Kühl, Dietmar wrote:

> Hi,
>
> >  bitset is a class that handles bit strings in a machine-independent
> > fashion. It includes all the manipulation you'd want to do too.
> >
> A long time ago I started to implement 'bitset'. I remember that it was
> rather complete (I think the I/O operators were still missing). However,
> I haven't touched the code since then and I built it using gcc-2.7.2. If
> you still want to give it a try, you can download it from
> < ftp://ftp.informatik.uni-konstanz.de/pub/algo/personal/kuehl/bitset.tgz >.
>
> I implemented this code when I was at the University of Constance and
> I filed a copyright assignment at the FSF for libstdc++ at this time, plus
> the thingy needed from my "employer" (ie. the University). Thus, I think
> this code can be integrated into libstdc++ if there is any interest in doing
> this.
>
> However, AFAIK, the current version of SGI STL also includes an
> implementation of 'bitset'. If there is an implementation, this is probably
> more suitable than my implementation...
>
> dk



--
Richard Dubois
SLD, Stanford Linear Accelerator Center
Richard@slac.stanford.edu
http://www.slac.stanford.edu/~richard/
650-926-3824
650-926-2923 (FAX)



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: <bitset> in egcs?
@ 1998-11-02  7:12 Kühl, Dietmar
  1998-11-02  8:20 ` Richard Dubois
  0 siblings, 1 reply; 8+ messages in thread
From: Kühl, Dietmar @ 1998-11-02  7:12 UTC (permalink / raw)
  To: 'richard@SLAC.Stanford.EDU'; +Cc: egcs

Hi,

>  bitset is a class that handles bit strings in a machine-independent
> fashion. It includes all the manipulation you'd want to do too.
> 
A long time ago I started to implement 'bitset'. I remember that it was
rather complete (I think the I/O operators were still missing). However,
I haven't touched the code since then and I built it using gcc-2.7.2. If
you still want to give it a try, you can download it from
< ftp://ftp.informatik.uni-konstanz.de/pub/algo/personal/kuehl/bitset.tgz >.

I implemented this code when I was at the University of Constance and
I filed a copyright assignment at the FSF for libstdc++ at this time, plus
the thingy needed from my "employer" (ie. the University). Thus, I think
this code can be integrated into libstdc++ if there is any interest in doing
this.

However, AFAIK, the current version of SGI STL also includes an
implementation of 'bitset'. If there is an implementation, this is probably
more suitable than my implementation...

dk

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: <bitset> in egcs?
  1998-10-30  2:40 ` Gerald Pfeifer
@ 1998-10-30  9:53   ` Richard Dubois
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Dubois @ 1998-10-30  9:53 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: egcs

 bitset is a class that handles bit strings in a machine-independent
fashion. It includes all the manipulation you'd want to do too.

 You can read about it at: http://www.dinkum.com/htm_cpl/bitset.html .

Richard

Gerald Pfeifer wrote:

> On Thu, 29 Oct 1998, Richard Dubois wrote:
> >  What is the status of bitset?
>
> In the STL from SGI, and thus also in EGCS, vector<bool> is a
> specialisation of vector<>, that implements a bit vector.
>
> Gerald
>
> PS: I don't have access to Stroustrup's C++ 3rd Ed., so I could
>     not check what bitset is supposed to do.
> --
> Gerald Pfeifer (Jerry)      Vienna University of Technology
> pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/



--
Richard Dubois
SLD, Stanford Linear Accelerator Center
Richard@slac.stanford.edu
http://www.slac.stanford.edu/~richard/
650-926-3824
650-926-2923 (FAX)



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: <bitset> in egcs?
  1998-10-29  9:46 Richard Dubois
@ 1998-10-30  2:40 ` Gerald Pfeifer
  1998-10-30  9:53   ` Richard Dubois
  0 siblings, 1 reply; 8+ messages in thread
From: Gerald Pfeifer @ 1998-10-30  2:40 UTC (permalink / raw)
  To: Richard Dubois; +Cc: egcs

On Thu, 29 Oct 1998, Richard Dubois wrote:
>  What is the status of bitset?

In the STL from SGI, and thus also in EGCS, vector<bool> is a
specialisation of vector<>, that implements a bit vector.

Gerald

PS: I don't have access to Stroustrup's C++ 3rd Ed., so I could
    not check what bitset is supposed to do.
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/




^ permalink raw reply	[flat|nested] 8+ messages in thread

* <bitset> in egcs?
@ 1998-10-29  9:46 Richard Dubois
  1998-10-30  2:40 ` Gerald Pfeifer
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Dubois @ 1998-10-29  9:46 UTC (permalink / raw)
  To: egcs

 I was trying to use the <bitset> bit manipulation package (as described
in Stroustrup's C++ 3rd Ed.). It is in my MS Visual C++ 5.0 version, but
I cannot find it in egcs. Nor could I find any reference to it on the
egcs web.

 What is the status of bitset?

Thanks,

Richard
--
Richard Dubois
SLD, Stanford Linear Accelerator Center
Richard@slac.stanford.edu
http://www.slac.stanford.edu/~richard/
650-926-3824
650-926-2923 (FAX)



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-11-06  8:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-04 12:28 <bitset> in egcs? Thomas Matelich
1998-11-05  0:28 ` Gerald Pfeifer
1998-11-06  8:00   ` Joe Buck
  -- strict thread matches above, loose matches on Subject: below --
1998-11-02  7:12 Kühl, Dietmar
1998-11-02  8:20 ` Richard Dubois
1998-10-29  9:46 Richard Dubois
1998-10-30  2:40 ` Gerald Pfeifer
1998-10-30  9:53   ` Richard Dubois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).