Re: Can basic_string<>::c_str() throw exceptions?
From: Peter Koch Larsen (pklspam_at_mailme.dk)
Date: 02/06/05
- Next message: Jack Klein: "Re: FAQ issue: Guaranteed value ranges of fundamental types?"
- Previous message: Risto Lankinen: "Re: Self Assignment check in Copy ctor"
- In reply to: Spacen Jasset: "Re: Can basic_string<>::c_str() throw exceptions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 6 Feb 2005 08:57:17 +0100
"Spacen Jasset" <spacenjasset@yahoo.co.uk> skrev i en meddelelse
news:42058851@x-privat.org...
[snip]
>
> Bit of a minefield the stl if you use say a platform specific lock
> mechanism which isn't an "auto mutex". One can't try every stl call just
> incase.
>
Well... the C++ way of doing things is not to use a "platform specific lock
mechanism", but wrap it so that locks will automatically be unlocked. Yopu
would not be able to do much realistic work with such a beast anyway.
/Peter
- Next message: Jack Klein: "Re: FAQ issue: Guaranteed value ranges of fundamental types?"
- Previous message: Risto Lankinen: "Re: Self Assignment check in Copy ctor"
- In reply to: Spacen Jasset: "Re: Can basic_string<>::c_str() throw exceptions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|