View source code
Display the source code in std/uuid.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Function std.uuid.UUID.swap
Swap the data of this UUID with the data of rhs.
Example
immutable ubyte[16] data = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15];
UUID u1;
UUID u2 = UUID(data);
u1 .swap(u2);
writeln(u1); // UUID(data)
writeln(u2); // UUID.init
Authors
Johannes Pfau
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.