Boost logo

Boost Users :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2007-01-31 14:22:03


Hi,

I don't exactly reproduce your problem (my program just crashes in
release mode) but I've found something tricky in my code:

-> If we use raw pointer instead of offset_ptr there is no problem.
-> If I make offset_ptr::set_offset function non-inline (taking it out
of the class definition) my problem goes away.

I suspect that function inlining in VC8 is hurting something. Can you
try to make offset_ptr::sey_offset non-inline and report your results?

I will try to guess if that's the only problem.

Regards,

Ion


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net