1

Is it possible to have an array of Lambda expressions such as here:

void somefunction(){
    auto arr = {
        [](){},etc
    }
}

I know arrays can not be made of auto so how would I be able to get passed this?

me me
  • 778
  • 2
  • 7
  • 18

0 Answers0