On Sep 6, 8:46 pm, "Default User" <defaultuse...@yahoo.com> wrote:
> Victor Bazarov wrote:
> > Tobe wrote:
> > > Here's an example of something that feels like it should be OK but
> > > does in fact produce a segfault on every compiler I've tried
> > > (VC2005, g ++ 4.1.2/Linux, g++ 3.4.4/Cygwin). The line marked //
> > > KABOOM is the one that segfaults. If I change the references to
> > > pointers (and make the appropriate dereferences) everything works
> > > just fine so is this some finer point of references I'm not
> > > grasping or an issue with the STL ?
> > > Answers gratefully received..
> > NEVER put anything beside your signature after the "-- " (the
> > signature separator). Now I have to manually drag your source code
> > in here...
> Actually, he didn't have "-- ", but "--". I assume your newsreader is
> not strict on .sig separators.
Or yours truncates trailing whitespace in some cases. I see
"-- " with Google news (and I'd be surprised if even Google adds
a trailing white space).
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34