Boost logo

Boost Users :

Subject: Re: [Boost-users] default argument and call trait const_reference
From: Hicham Mouline (hicham_at_[hidden])
Date: 2009-04-09 11:12:23


>It was just P ... that was P's ctor...
>It's Get, not GetSpot
>x.template Get<P,P>( 5 );
>I've added to default argument to the out-of-class definition as well
>and then it works...
>does it make any sense?
>H

Here is the unedited code:

http://codepad.org/CDOFhSqZ

As it is shown here, in debug VS2005SP1, when I get inside the out-of-class
def of GetSpot
i and e both show garbage.

When I added = Interp() and = Extrap()
to the out-of-class def, debug works fine.

I didn't try in Release yet,

Rds,


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