diff options
author | Benji Dial <benji@benjidial.net> | 2024-05-19 14:39:06 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-05-19 14:39:06 -0400 |
commit | 5a54df93c4e9368c36e69d1e9c88cd2904e92308 (patch) | |
tree | 094f294c51701a34a6ce18b43965fff708f3fdd5 /euler/include/algorithm | |
parent | 649ff9636fe7289749c91141bbf32b2dcbe6dde4 (diff) | |
download | hilbert-os-5a54df93c4e9368c36e69d1e9c88cd2904e92308.tar.gz |
rework daguerre a bit
Diffstat (limited to 'euler/include/algorithm')
-rw-r--r-- | euler/include/algorithm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/euler/include/algorithm b/euler/include/algorithm new file mode 100644 index 0000000..08702f9 --- /dev/null +++ b/euler/include/algorithm @@ -0,0 +1,12 @@ +#pragma once + +namespace std { + + template <class t> + void swap(t &a, t &b) { + t tmp = a; + a = b; + b = tmp; + } + +} |