http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52288

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-16 
23:53:15 UTC ---
(In reply to comment #1)
> > foo.cc:5:28: error: no match for ternary âoperator?:â in âb ? {argc} : 
> > {argc}â
> > 
> > which is a poor.
> 
> What do you suggest instead?

Sorry, I missed the {argc} part.  Trunk gives a better error:

l.cc:4:34: error: no match for ternary 'operator?:' in 'b ? main(int,
char**)::<lambda(int)>{argc} : main(int, char**)::<lambda(int)>{argc}'

Reply via email to