summaryrefslogtreecommitdiff
path: root/euler
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-05-19 14:39:06 -0400
committerBenji Dial <benji@benjidial.net>2024-05-19 14:39:06 -0400
commit5a54df93c4e9368c36e69d1e9c88cd2904e92308 (patch)
tree094f294c51701a34a6ce18b43965fff708f3fdd5 /euler
parent649ff9636fe7289749c91141bbf32b2dcbe6dde4 (diff)
downloadhilbert-os-5a54df93c4e9368c36e69d1e9c88cd2904e92308.tar.gz
rework daguerre a bit
Diffstat (limited to 'euler')
-rw-r--r--euler/include/algorithm12
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;
+ }
+
+}