http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58083
Bug ID: 58083
Summary: ICE with lambda as default parameter of a template
function
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: i.zaufi at gmail dot com
Created attachment 30614
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30614&action=edit
preprocessed buggy file
I know that my code is incorrect and shouldn't work, but ICE shouldn't happen
anyway.
I tried to play w/ SFINAE and using lambdas to do a 'concept checking' w/ a
native C++ syntax, but really soon got an ICE w/ that code