What is the Zstatement of the operator []?
This is the return type of the function. It is not used at all in this example, so there is no reason for actually defining it as that I just want to show that the function is returning something. Maybe they should, but it really is not necessary.
What is the likely meaning of the expression x[{1,2,3}] = 7;?
, , , ,
[...] [...]
initializer_list , . N . operator() operator[] initializer_list, .