With respect to this problem :
2050G - Tree Destruction
Using vector of vector, compiled successfully and giving correct output
But when trying the same with array of vectors, it doesn't compile
Error by compiler -> error: use of deleted function 'main()::<lambda(auto:28, int, int)>::~<lambda>()' <lambda(auto:28, int, int)>::~<lambda>()' is implicitly deleted because the default definition would be ill-formed:
I want to know why this is happening. Can someone please tell me the reason behind this unknown behavior of lambda function ?