const_indexing

The tracking issue for this feature is: #29947