2 Apr
2006
2 Apr
'06
1:38 a.m.
Kiuhnm wrote:
I am just a beginner so my question could be very stupid. Please be patient.
What is wrong with the following code? It should be clear enough what I am trying to do.
I'll start by saying that I didn't actually try out your code. That said, I think what you're seeing is the same issue I reported and explained in the link below, together with workaround. I never got an answer to that post, however... http://permalink.gmane.org/gmane.comp.lib.boost.devel/139253 The workaround is to use apply1 instead of apply in the placeholder expression. Try this, typedef apply1< plus< _, int_<10> >, _ > t2; Best regards, João