//
-// Copyright (c) Antony Polukhin, 2012-2014.
+// Copyright (c) 2012-2019 Antony Polukhin.
//
// 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)
/// Function that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index.
///
-/// Retunrs runtime information about specified type.
+/// Returns runtime information about specified type.
///
/// \b Requirements: RTTI available or Base and Derived classes must be marked with BOOST_TYPE_INDEX_REGISTER_CLASS.
///
/// std::cout << ti.pretty_name(); // Outputs 'Derived'
/// \endcode
///
-/// \param runtime_val Varaible which runtime type must be returned.
+/// \param runtime_val Variable which runtime type must be returned.
/// \throw Nothing.
/// \return boost::typeindex::type_index with information about the specified variable.
template <class T>