using std::istream;
using std::ostream_iterator;
using std::istream_iterator;
+using std::ios;
#include <limits>
using std::numeric_limits;
#include <thread>
using std::thread;
+using std::call_once;
+using std::once_flag;
+namespace this_thread {
+ using namespace std::this_thread;
+}
#include <tuple>
using std::tuple;
using std::is_same;
using std::underlying_type;
using std::enable_if;
+using std::remove_reference;
#include <utility>
using std::pair;
using std::declval;
+using std::forward;
#include <vector>
using std::vector;
LEXICOGRAPHIC_OPERATOR(_c_, >) LEXICOGRAPHIC_OPERATOR(_c_, >=) \
LEXICOGRAPHIC_OPERATOR(_c_, ==) LEXICOGRAPHIC_OPERATOR(_c_, !=)
+// The following implementation of tuple_indices is redistributed under the MIT
+// License as an insubstantial portion of the LLVM compiler infrastructure.
+
+template <size_t...> struct tuple_indices {};
+template <size_t S, class IntTuple, size_t E> struct make_indices_imp;
+template <size_t S, size_t... Indices, size_t E> struct make_indices_imp<S, tuple_indices<Indices...>, E> {
+ typedef typename make_indices_imp<S+1, tuple_indices<Indices..., S>, E>::type type;
+};
+template <size_t E, size_t... Indices> struct make_indices_imp<E, tuple_indices<Indices...>, E> {
+ typedef tuple_indices<Indices...> type;
+};
+template <size_t E, size_t S=0> struct make_tuple_indices {
+ typedef typename make_indices_imp<S, tuple_indices<>, E>::type type;
+};
+
+#include "endian.h"
+
#endif