NB CA-3 Lambdas in template parameters

As directed by CWG Motion 1 from 2014-Isaquah.

Also fixes CWG1607.