H
Hicham Mouline
Hello,
I am debugging (vs2008) the following code:
http://codepad.org/zy3WFbe7
From user code, I call:
const Curve1D<Trait> curve(/* ctor arguments*/);
double y = curve.Get<Something, Linear1D>( x );
when I get in the implementation of the Get() member function, the e that is
supposed to be constructed
with Linear1D() default ctor, isn't properly set.
introspecting e shows that
mfPrimebegin=NaN
mfPrimeend= 7.737463760456e-317#DEN
mfboundary= 3.6492352064455326e-307while they should all be NaNThis is in
debug.Is there a problem defining the Get function outside of its
encapsulating class?especially that it is a template member
function?regards,
I am debugging (vs2008) the following code:
http://codepad.org/zy3WFbe7
From user code, I call:
const Curve1D<Trait> curve(/* ctor arguments*/);
double y = curve.Get<Something, Linear1D>( x );
when I get in the implementation of the Get() member function, the e that is
supposed to be constructed
with Linear1D() default ctor, isn't properly set.
introspecting e shows that
mfPrimebegin=NaN
mfPrimeend= 7.737463760456e-317#DEN
mfboundary= 3.6492352064455326e-307while they should all be NaNThis is in
debug.Is there a problem defining the Get function outside of its
encapsulating class?especially that it is a template member
function?regards,