Chris@16: /* Chris@16: Copyright (c) Marshall Clow 2010-2012. Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: For more information, see http://www.boost.org Chris@16: */ Chris@16: Chris@16: #ifndef BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP Chris@16: #define BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP Chris@16: Chris@16: #include Chris@16: /// \cond DOXYGEN_HIDE Chris@16: Chris@16: namespace boost { namespace algorithm { namespace detail { Chris@16: Chris@16: // Debugging support Chris@16: template Chris@16: void PrintTable ( Iter first, Iter last ) { Chris@16: std::cout << std::distance ( first, last ) << ": { "; Chris@16: for ( Iter iter = first; iter != last; ++iter ) Chris@16: std::cout << *iter << " "; Chris@16: std::cout << "}" << std::endl; Chris@16: } Chris@16: Chris@16: }}} Chris@16: /// \endcond Chris@16: Chris@16: #endif // BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP