
AMDG On 04/06/2011 03:25 PM, Jake Brownson wrote:
Well, how about this version: tested with msvc 10.0 and gcc 4.5.1
Ahh very clever, emulating auto w/ the template... didn't think of that. I get the same errors though. I did some searching just now and I guess Apple does some pretty serious modifications to the gcc they ship w/ XCode, I wonder if that explains anything, or maybe simply because it's an older gcc? It's still the one XCode ships with, they're usually a bit behind because they do so many modifications from what I understand.
Maybe. I'm using the most recent development trunk.
I'll grab that and give these a try there too.
I get errors too with 1.46.0. It looks like it's because transform_iterator doesn't use result_of. IIRC, this was fixed /very/ recently.
What version of phoenix are you using? It's obviously not from 1.46.1, since the first official release of Phoenix 3 will be in 1.47.
I'm using the Phoenix that comes w/ 1.46.1 as part of spirit. Iirc that means Phoenix 2. I was trying the same thing in a similar way w/ lambda and getting similar errors before I found phoenix and read that it's supposed to be the next thing.
Right. I should read the code more carefully, before I post. In Christ, Steven Watanabe