This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Peter Dimov wrote:
I'll try to review basic_string and locale::facet so that I can speak in less general terms.
Yes, by now I think I understand the issue at large. Of course a review of the usages in basic_string and locale::facet is very welcome.
From what I see... it's extremely unlikely that the issue will causeproblems in practice. I can't come up with a realistic example that has even a small chance to "fail".
struct X
{
int v; X(): v( 0 ) {}
~X() { v = 1; }
};assert( px->v == 0 ); px.reset();
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |