On 12/12/2014 1:58 AM, bearophile wrote:
My point was to optionally define built-in arrays with a strongly typed indexing
(where the strongly typed index can be defined with a better version of
Typedef!()), as I've tried to explain in that post.

All you have to do is define your own array type as a struct wrapper around an array, then overload the [] operator. No need for new language features.

Reply via email to