On 10/1/23 1:41 PM, Salih Dincer wrote:
Hi,What is the difference between T[] opIndex() and T[] opSlice(), which haven't parameters?
None. It used to be that opSlice was the only way, and the mechanisms opSlice uses are still valid.
-Steve
Steven Schveighoffer via Digitalmars-d-learn Sun, 01 Oct 2023 20:02:43 -0700
On 10/1/23 1:41 PM, Salih Dincer wrote:
Hi,What is the difference between T[] opIndex() and T[] opSlice(), which haven't parameters?
None. It used to be that opSlice was the only way, and the mechanisms opSlice uses are still valid.
-Steve