Lambda as slate delegate
Is it possible to use a lambda as a slate delegate for generating items in a SListView?
I'm guessing that if it is possible I'd have to wrap this somehow as an actual delegate, as I get an error about being unable to convert from the lambda to a RetVal_TwoParams delegate. Is this the case, and if so how would I go about doing so?
asked Jun 23 '14 at 12:42 AM in C++ Programming
You should be able to use a lambda providing they don't capture anything. Our delegates don't really support lambdas, but they do support static function pointers, and a stateless lambda will convert to a function pointer.
answered Jun 23 '14 at 09:38 AM
Jamie Dale STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here