8 Apr
2004
8 Apr
'04
3:57 p.m.
Hi! On Wed, Apr 07, 2004 at 01:28:29PM +0200, Johannes Brunen wrote:
However, the initilaization of the const _num0 reference happens at some time later. Therefore it is undefined at the point of usage in the ex::construct_from_int(int i) call from function_options::initialize().
Ah, of course. This explains it. The ex() default ctor uses _num0_bp directly, so static ex objects are always initialized correctly as long as you're only using the default ctor. Maybe the ex::construct_from_*() functions should also use the _num*_bp pointers instead of the references? Bye, Christian -- / Physics is an algorithm \/ http://www.uni-mainz.de/~bauec002/