Need for (C++20) Contiguous Range

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Fri Oct 9 15:47:34 UTC 2020


On Friday, 9 October 2020 at 15:44:27 UTC, Steven Schveighoffer 
wrote:
> I'm struggling to understand what the benefit of defining these 
> as contiguous is. What can you do when defining something that 
> isn't an array as contiguous memory? What are the primitives 
> that you use, for what purpose?

All kinds of numerics. Like, getting the real parts from a 
complex set and use an algorithm that has been defined on reals 
only.





More information about the Digitalmars-d mailing list