Hookable Swap

Era Scarecrow rtcvb32 at yahoo.com
Mon May 20 02:18:51 UTC 2019


On Sunday, 19 May 2019 at 06:13:13 UTC, Era Scarecrow wrote:
> Making a struct type/array that visually outputs and displays 
> compares/mutations of a type. While using the library sorting 
> functions (which relies on std.algorithm.mutation.swap

Well been having fun with sorting and more of this; Added a 
function that with compares it checks if the indexes have changed 
(saying the item has changed) and acts accordingly. So now the 
compared spots look right.

Here's some outputs if you are interested

https://pastebin.com/raw/QWn6iDF3


More information about the Digitalmars-d-learn mailing list