Moved const to proper position
Removed type spec from lambda func
Fixed args to typename