visual c++ upgrading problem
Posted by
Luca Berardi on
URL: http://quantlib.414.s1.nabble.com/visual-c-upgrading-problem-tp3536.html
Hi all
I've just upgraded from Visual C++ 6.0 to Visual C++ 7.1 (MS .Net).
When compiling my own code I could not overcome the problem described below:
The piece of code:
BoxMullerGaussianRng<MersenneTwisterUniformRng>
generator( MersenneTwisterUniformRng() );
Z = generator.next().value;
generates the following error:
left of '.next' must have class/struct/union type
type is 'overloaded-function'
When compiling the same piece of code with Visual C++ 6.0 I didn't get any
errors, (and I can't see why the above code should produce an error, anyway).
Can someone please help me fix this problem?
Thanks in advance.
Luca Berardi
__________________________________________________________________
Tiscali Adsl 2 Mega Free, 2 Mega GRATIS!
Attiva Tiscali Adsl 2 Mega Free entro il 31 gennaio e navighi GRATIS
fino al 31 marzo 2005! In piu', anche il costo di adesione e' GRATIS.
Scaricato il concetto?
http://abbonati.tiscali.it/adsl/