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 

streambuf mehrfach benutzen

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





PostPosted: Sun Oct 24, 2004 9:33 am    Post subject: streambuf mehrfach benutzen Reply with quote



Hallo,

kurz & schmerzlos: darf man eigentlich einen streambuf in mehreren
iostream-Objekten gleichzeitig verwenden? Also beispielsweise
std::ostream os(cout.rdbuf());
In ISO 14882 finde ich dazu keine Aussage.


Stefan

--
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
Markus Schaaf
Guest





PostPosted: Sun Oct 24, 2004 10:48 am    Post subject: Re: streambuf mehrfach benutzen Reply with quote



"Stefan Reuther" <stefan.news (AT) arcor (DOT) de> schrieb:

Quote:
kurz & schmerzlos: darf man eigentlich einen streambuf in mehreren
iostream-Objekten gleichzeitig verwenden? Also beispielsweise
std::ostream os(cout.rdbuf());

Ich sehe nichts, was dagegen sprechen könnte.

--
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
Marcel Müller
Guest





PostPosted: Mon Oct 25, 2004 12:32 am    Post subject: Re: streambuf mehrfach benutzen Reply with quote



Stefan Reuther wrote:

Quote:
kurz & schmerzlos: darf man eigentlich einen streambuf in mehreren
iostream-Objekten gleichzeitig verwenden? Also beispielsweise
std::ostream os(cout.rdbuf());

Wenn man sich über die Thread-safety im klaren ist, sollte das gehen.


Marcel

--
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.