[GiNaC-devel] Crash during startup

Richard B. Kreckel kreckel at thep.physik.uni-mainz.de
Tue Feb 1 00:03:03 CET 2005


Dear Chris,

On Mon, 24 Jan 2005, Chris Dams wrote:
[...]
> inside the libary_init constructor to produces usable exes. Then, when the
> time comes that utils.o gets initialized, it would be best if these exes
> were not touched. I do this by the dirty trick of self-asignment (or
> rather, construction from self) as in
>
> 	const ex _ex120 = _ex120

Hmm, so this is not DR 363 because _ex120 has been initialized before?
<http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_closed.html#363>.
Anyway, I'm getting convinced that your code is valid...

Regards
  -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>




More information about the GiNaC-devel mailing list