The simplest thing I could find is void function()
- hr0m
1 Answers
3
votes
(){} should work. It uses the old-style lambda syntax, without the arrow. () => {} should also work, but there seems to be some kinda bug that prevents assignment from it to a void function() variable. Works great for template alias parameters, though.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
void function()- hr0m