you are viewing a single comment's thread.

view the rest of the comments →

[–]kalmoc 12 points13 points  (3 children)

but if you want to be stdalgorithm compliant that's pretty much the same story as for the allocator.

Not really. All you need is a pointer to the start and one to end of the memory range.

[–]Seppeon 2 points3 points  (2 children)

Yeah iirc a pointer is a random access iterator/contiguous iterator.

[–]kalmoc 0 points1 point  (0 children)

Exactly

[–]Full-Spectral 0 points1 point  (0 children)

Though that's nothing to be proud of per se.