From 8789bff18192aed89e461d7c9fcf4c7018e94158 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Mon, 28 Oct 2013 14:08:19 +0400 Subject: [PATCH] Restored some of the tests, fixed issues and added template_index.hpp.. Still in the middle of big changes --- boost/type_index/template_index.hpp | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 boost/type_index/template_index.hpp diff --git a/boost/type_index/template_index.hpp b/boost/type_index/template_index.hpp new file mode 100644 index 0000000..764e6c0 --- /dev/null +++ b/boost/type_index/template_index.hpp @@ -0,0 +1,35 @@ +// +// Copyright (c) Antony Polukhin, 2012-2013. +// +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// + +#ifndef BOOST_TYPE_INDEX_TEMPLATE_INDEX_HPP +#define BOOST_TYPE_INDEX_TEMPLATE_INDEX_HPP + +// MS compatible compilers support #pragma once +#if defined(_MSC_VER) +# pragma once +#endif + + +/// \file template_index.hpp +/// \brief Contains implementation of boost::template_index class. +/// +/// boost::template_index is just a typedef of boost::template_info, that combines functionality +/// of boost::type_info and boost::type_index but can work with RTTI disabled. + +#include + +namespace boost { + +/// boost::template_index is just a typedef of boost::template_info, that combines functionality +/// of boost::type_info and boost::type_index but can work with RTTI disabled. +typedef template_info template_index; + +} // namespace boost + +#endif // BOOST_TYPE_INDEX_TEMPLATE_INDEX_HPP +