From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- cutl/details/boost/iterator/iterator_traits.hpp | 92 ------------------------- 1 file changed, 92 deletions(-) delete mode 100644 cutl/details/boost/iterator/iterator_traits.hpp (limited to 'cutl/details/boost/iterator/iterator_traits.hpp') diff --git a/cutl/details/boost/iterator/iterator_traits.hpp b/cutl/details/boost/iterator/iterator_traits.hpp deleted file mode 100644 index 449c91d..0000000 --- a/cutl/details/boost/iterator/iterator_traits.hpp +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright David Abrahams 2003. -// 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 ITERATOR_TRAITS_DWA200347_HPP -# define ITERATOR_TRAITS_DWA200347_HPP - -# include -# include - -namespace cutl_details_boost { - -// Unfortunately, g++ 2.95.x chokes when we define a class template -// iterator_category which has the same name as its -// std::iterator_category() function, probably due in part to the -// "std:: is visible globally" hack it uses. Use -// BOOST_ITERATOR_CATEGORY to write code that's portable to older -// GCCs. - -# if BOOST_WORKAROUND(__GNUC__, <= 2) -# define BOOST_ITERATOR_CATEGORY iterator_category_ -# else -# define BOOST_ITERATOR_CATEGORY iterator_category -# endif - - -template -struct iterator_value -{ - typedef typename cutl_details_boost::detail::iterator_traits::value_type type; -}; - -template -struct iterator_reference -{ - typedef typename cutl_details_boost::detail::iterator_traits::reference type; -}; - - -template -struct iterator_pointer -{ - typedef typename cutl_details_boost::detail::iterator_traits::pointer type; -}; - -template -struct iterator_difference -{ - typedef typename cutl_details_boost::detail::iterator_traits::difference_type type; -}; - -template -struct BOOST_ITERATOR_CATEGORY -{ - typedef typename cutl_details_boost::detail::iterator_traits::iterator_category type; -}; - -# if BOOST_WORKAROUND(BOOST_MSVC, < 1300) -template <> -struct iterator_value -{ - typedef void type; -}; - -template <> -struct iterator_reference -{ - typedef void type; -}; - -template <> -struct iterator_pointer -{ - typedef void type; -}; - -template <> -struct iterator_difference -{ - typedef void type; -}; - -template <> -struct BOOST_ITERATOR_CATEGORY -{ - typedef void type; -}; -# endif - -} // namespace cutl_details_boost::iterator - -#endif // ITERATOR_TRAITS_DWA200347_HPP -- cgit v1.1