How to define template parameters for a generic lambda argument? [duplicate]
问题 This question already has an answer here : Constructing std::function argument from lambda (1 answer) Closed 7 months ago . Explanation: CLion and it's standard compiler give me an error that the "candidate template [is] ignored", when I write a lambda as parameter for a generic function that takes a lambda as argument. This lambda takes a generic type T and returns another unknown type A . The container class that I am writing is supposed to support functional operations like these in Scala