diff options
Diffstat (limited to 'euler/include')
-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; + } + +} |