Re: Problem with Solver

Markus Werle <[email protected]> Mon, 23 Jan 2006 11:08:22 +0000 (UTC)
Newsgroups gmane.comp.lib.daixtrose.help
Message-ID <[email protected]>
John Fletcher <J.P.Fletcher <at> aston.ac.uk> writes:

> #ifdef PROBLEM
>         MySolver.AddExpression<1>(e1);

[We already had private communication on this, but I thought 
it would be OK to share the result with the community]

Some compilers need a little extra help and compile this code
if modified to 

MySolver.template AddExpression<1>(e1);

So far so good. I do not remember the rules exactly, but I thought
the "template" keyword even was required by now, so I gave it a try
with my most up-to-date compilers:

Intel-9.0 and gcc-4.2-snapshot accept the code _without_ it!

Here I am smashing my head on the table again.
I will take the time to reread Vandevoorde/Josuttis and probably 
post some question on c.l.c++.m to get sure about this issue.
Will this story never end?

Stay tuned,


Markus






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642