Is there a possibility to make it somehow,
I need to return const bool[dimension1][dimension2];
I tried - template classes, pointers, and the other things, some that break the C++ standards, but no working solution.
Thank you if you have any ideas.