Are Array-Backed Properties useful or not?
So, this question has been on my mind for quite some time. In a book dealing with design patterns in C++, I've found the use of so-called Array-Backed Properties. I like the idea and do see some situations were this technique might be handy, but I am hesitating to use it because I've seen literally no one else doing it, raising the question if it is simply not well-known or discouraged to use. If you don't know the concept, here is an example code I made a while ago (or just google it, you might end up reading the same text as I did): https://code.sololearn.com/cghQFhOsFekc/?ref=app So my question is if this concept seems useful or not and whether you would apply it in a project or rather not? I'm asking because I'm tinkering with how to approach a new code, and this might be handy, but again, I'm not too sure about it. I'm looking forward to hearing some opinions on the concept!