Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-12-15 05:34:22


Paul A. Bristow wrote:
>
> | - The VC7.1 has not been tested, but it'll probably fail. At least the
> | former versions did. If you can make it work, please tell me what I
> | have to change. Tested are GCC 3.3.2 and Intel 7.1.
>
> Your pessimism is justified :-((
>
> Compiling... MSVC 7.1
> Example.cpp
> Example.cpp(19) : error C3200: 'boost::math::pi_value<T>' : invalid template
> argument for template parameter 'F', expected a class template
> Example.cpp(19) : see reference to class template instantiation
> 'boost::math::pi_value<T>' being compiled
> Example.cpp(83) : fatal error C1903: unable to recover from previous error(s);
> stopping compilation
> [...]
> Any suggestions?

I thought about this and I think that the VC++ is probably correct on
this one. Could you please try to replace line 18 from:

template< typename T > struct pi_value :
   constant_value< pi_value, T > {};

to

template< typename T > struct pi_value :
   constant_value< math::pi_value, T > {};

TIA.

Regards, Daniel

-- 
Daniel Frey
aixigo AG - financial solutions & technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk