2 Copyright (c) Marshall Clow 2010-2012.
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 For more information, see http://www.boost.org
10 #ifndef BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP
11 #define BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP
14 /// \cond DOXYGEN_HIDE
16 namespace boost { namespace algorithm { namespace detail {
19 template <typename Iter>
20 void PrintTable ( Iter first, Iter last ) {
21 std::cout << std::distance ( first, last ) << ": { ";
22 for ( Iter iter = first; iter != last; ++iter )
23 std::cout << *iter << " ";
24 std::cout << "}" << std::endl;
30 #endif // BOOST_ALGORITHM_SEARCH_DETAIL_DEBUG_HPP