Conditions use pointer-to-member,not lambdas; as suggested by stoewer