annotate DEPENDENCIES/generic/include/boost/algorithm/searching/detail/debugging.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 /*
Chris@16 2 Copyright (c) Marshall Clow 2010-2012.
Chris@16 3
Chris@16 4 Distributed under the Boost Software License, Version 1.0. (See accompanying
Chris@16 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6
Chris@16 7 For more information, see http://www.boost.org
Chris@16 8 */
Chris@16 9
Chris@16 10 #ifndef BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP
Chris@16 11 #define BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP
Chris@16 12
Chris@16 13 #include <iostream>
Chris@16 14 /// \cond DOXYGEN_HIDE
Chris@16 15
Chris@16 16 namespace boost { namespace algorithm { namespace detail {
Chris@16 17
Chris@16 18 // Debugging support
Chris@16 19 template <typename Iter>
Chris@16 20 void PrintTable ( Iter first, Iter last ) {
Chris@16 21 std::cout << std::distance ( first, last ) << ": { ";
Chris@16 22 for ( Iter iter = first; iter != last; ++iter )
Chris@16 23 std::cout << *iter << " ";
Chris@16 24 std::cout << "}" << std::endl;
Chris@16 25 }
Chris@16 26
Chris@16 27 }}}
Chris@16 28 /// \endcond
Chris@16 29
Chris@16 30 #endif // BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP