[boost] Re: [math constants] VC++ experts needed :)
by Daniel Frey other posts by this author
Mar 11 2004 10:42PM messages near this date
Re: [boost] Re: [math constants] VC++ experts needed :)
|
Re: [boost] Re: [math constants] VC++ experts needed :)
Bronek Kozicki wrote:
> Daniel Frey <daniel.frey@[...].de> wrote:
>
> >template <typename U>
> >void f (const B<U>&)
> >{
> > U<double> v;
> > v.g();
> >}
>
>
> There's an error:
Obviously, as that was on purpose.
> I think that instead should be:
>
> template <template <typename> class U>
> void f (const B<U>&)
> {
> U<double> v;
> v.g();
> }
>
> after this small change it compiles fine, and result is:
> double
Hm. Well, this means that the VC seems to accept the correct code in
*some* cases, but not always? I'm puzzled and I don't know how to help
you to find the problem. Can you try to reduce the _m3 to a small
example which still shows some of the problems you reported? TIA.
Regards, Daniel
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Thorsten Ottosen
Thorsten Ottosen
Daniel Frey
Thorsten Ottosen
Daniel Frey
Thorsten Ottosen
Daniel Frey
Thorsten Ottosen
Guillaume Melquiond
Daniel Frey
Bronek Kozicki
Bronek Kozicki
Bronek Kozicki
Daniel Frey
Bronek Kozicki
Daniel Frey
Daniel Frey
Bronek Kozicki
Daniel Frey
Daniel Frey
Bronek Kozicki
Daniel Frey
Bronek Kozicki
Bronek Kozicki
Daniel Frey
Paul A Bristow
Paul A Bristow
Paul A Bristow
Paul A Bristow
Phil Richards
Daniel Frey
Paul A Bristow
David Abrahams
Paul A Bristow
David Abrahams
|