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?
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?