On 05/08/2012 03:00 PM, Jason Merrill wrote:
On 05/07/2012 11:28 PM, Paolo Carlini wrote:
error: could not convert ‘b.main()::<lambda()>()’ from ‘void’ to ‘bool’
It wouldn't say "operator()"?
Nope, it says exactly the above. If you tell me what would be more
sensible which remaining informative, I can see if I can quickly prepare
something... like b.operator()? Would it be better? That would be very
quick to implement: b is for free, and the arguments too, if there is
something better we want to print in the middle, just let me know.
I think I'd leave that alone; it is somewhat more informative (about
what b() expands to) and we're moving toward replacing %qE with caret
anyway.
... or anyway.
The patch to ocp_convert is OK.
Great, thanks.
Paolo.