https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82003
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- There are a few issues with generic lambdas in GCC 5, if you need to use them you should probably just upgrade to GCC 6.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82003
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- There are a few issues with generic lambdas in GCC 5, if you need to use them you should probably just upgrade to GCC 6.