From 9503d56fd4018b63e91b0f6ed7b40e40449e2a47 Mon Sep 17 00:00:00 2001 From: vng Date: Mon, 5 Aug 2013 00:58:07 +0300 Subject: [PATCH] Added some std wrappers. --- std/algorithm.hpp | 5 +++++ std/cstdio.hpp | 3 +++ std/iostream.hpp | 13 +++++++++++++ std/noncopyable.hpp | 5 +++++ std/sstream.hpp | 5 +++++ std/stdint.hpp | 3 +++ std/string.hpp | 5 +++++ std/vector.hpp | 5 +++++ 8 files changed, 44 insertions(+) create mode 100644 std/algorithm.hpp create mode 100644 std/cstdio.hpp create mode 100644 std/iostream.hpp create mode 100644 std/noncopyable.hpp create mode 100644 std/sstream.hpp create mode 100644 std/stdint.hpp create mode 100644 std/string.hpp create mode 100644 std/vector.hpp diff --git a/std/algorithm.hpp b/std/algorithm.hpp new file mode 100644 index 0000000..9b923e3 --- /dev/null +++ b/std/algorithm.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +using std::equal; diff --git a/std/cstdio.hpp b/std/cstdio.hpp new file mode 100644 index 0000000..61bbf45 --- /dev/null +++ b/std/cstdio.hpp @@ -0,0 +1,3 @@ +#pragma once + +#include diff --git a/std/iostream.hpp b/std/iostream.hpp new file mode 100644 index 0000000..1726c25 --- /dev/null +++ b/std/iostream.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include + +using std::cin; +using std::cout; +using std::cerr; + +using std::endl; +using std::flush; + +using std::istream; +using std::ostream; diff --git a/std/noncopyable.hpp b/std/noncopyable.hpp new file mode 100644 index 0000000..2829a55 --- /dev/null +++ b/std/noncopyable.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +using boost::noncopyable; diff --git a/std/sstream.hpp b/std/sstream.hpp new file mode 100644 index 0000000..d644fc4 --- /dev/null +++ b/std/sstream.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +using std::ostringstream; diff --git a/std/stdint.hpp b/std/stdint.hpp new file mode 100644 index 0000000..20bf192 --- /dev/null +++ b/std/stdint.hpp @@ -0,0 +1,3 @@ +#pragma once + +#include diff --git a/std/string.hpp b/std/string.hpp new file mode 100644 index 0000000..8fe3c8b --- /dev/null +++ b/std/string.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +using std::string; diff --git a/std/vector.hpp b/std/vector.hpp new file mode 100644 index 0000000..e4e1af5 --- /dev/null +++ b/std/vector.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +using std::vector;