Is it legal to have a function taking two aliased slices?

ponce via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 10 06:20:12 PDT 2015


Example:
     void process(float[] input, float[] output)
     {
       // do stuff
     }


I'd like to sometimes have overlapping slices, and don't want the 
compiler to assume they do not overlap.




More information about the Digitalmars-d-learn mailing list