From 48d80630c5e8110df9bfbf5d0d0c942998584a13 Mon Sep 17 00:00:00 2001 From: vng Date: Mon, 5 Aug 2013 20:56:40 +0300 Subject: [PATCH] Added some std headers. --- std/algorithm.hpp | 2 ++ std/array.hpp | 6 ++++++ std/iterator.hpp | 4 ++++ std/utility.hpp | 1 + 4 files changed, 13 insertions(+) create mode 100644 std/array.hpp create mode 100644 std/iterator.hpp diff --git a/std/algorithm.hpp b/std/algorithm.hpp index 3c4a036..7ec7845 100644 --- a/std/algorithm.hpp +++ b/std/algorithm.hpp @@ -5,3 +5,5 @@ using std::equal; using std::min; using std::max; +using std::transform; +using std::equal_range; diff --git a/std/array.hpp b/std/array.hpp new file mode 100644 index 0000000..cdbd376 --- /dev/null +++ b/std/array.hpp @@ -0,0 +1,6 @@ +#pragma once + +#include + +template +inline size_t ArraySize(T (&) [N]) { return N; } diff --git a/std/iterator.hpp b/std/iterator.hpp new file mode 100644 index 0000000..5c98915 --- /dev/null +++ b/std/iterator.hpp @@ -0,0 +1,4 @@ +#pragma once + +#include +using std::back_inserter; diff --git a/std/utility.hpp b/std/utility.hpp index 9fff1d1..ff1b1a4 100644 --- a/std/utility.hpp +++ b/std/utility.hpp @@ -2,4 +2,5 @@ #include +using std::pair; using std::make_pair;