C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

stl: bitset mit varibler größe

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (German)
View previous topic :: View next topic  
Author Message
Christian Christmann
Guest





PostPosted: Fri Mar 25, 2005 2:02 pm    Post subject: stl: bitset mit varibler größe Reply with quote



Hallo,

ich benötige die STL-Klasse "bitset" mit all ihren
Algorithmen, wo jedoch die bitsets keine feste Größe
haben.
Bisher habe ich nur gelesen, dass es nicht
möglich ist, bitsets in ihrer Größe zur Laufzeit zu
variieren.

Kennt jemand eine Lösung für dieses Problem?

Danke

Christian

--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de
Back to top
Steffen Jakob
Guest





PostPosted: Sun Mar 27, 2005 2:56 pm    Post subject: Re: stl: bitset mit varibler größe Reply with quote



Am Fri, 25 Mar 2005 15:02:06 +0100 schrieb Christian Christmann:

Quote:
ich benötige die STL-Klasse "bitset" mit all ihren
Algorithmen, wo jedoch die bitsets keine feste Größe
haben.
Bisher habe ich nur gelesen, dass es nicht
möglich ist, bitsets in ihrer Größe zur Laufzeit zu
variieren.

Kennt jemand eine Lösung für dieses Problem?

boost::dynamic_bitset

Siehe
http://www.boost.org/libs/dynamic_bitset/dynamic_bitset.html

Gruß,
Steffen.

--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de

Back to top
Daniel Albuschat
Guest





PostPosted: Sun Mar 27, 2005 4:45 pm    Post subject: Re: stl: bitset mit varibler größe Reply with quote



Christian Christmann wrote:
Quote:
Hallo,

ich benötige die STL-Klasse "bitset" mit all ihren
Algorithmen, wo jedoch die bitsets keine feste Größe
haben.
Bisher habe ich nur gelesen, dass es nicht
möglich ist, bitsets in ihrer Größe zur Laufzeit zu
variieren.

Kennt jemand eine Lösung für dieses Problem?

Probier's mit vector<bool>.

--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.