I have an object that has an array attribute, say (*obj).some_array;
, where some_array is an integer array.
I know that we can alias simply like so:
int test = 10;
int &alias = test;
However, how can I alias to an array of an object, similarly to above but for obj's some_array?