Subject: [Boost-bugs] [Boost C++ Libraries] #1152: rle_example fails
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-08 19:23:26
#1152: rle_example fails
------------------------------+---------------------------------------------
Reporter: vladimir_prus | Owner: pavol_droba
Type: Bugs | Status: new
Milestone: To Be Determined | Component: string_algo
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
The string_algo's rle_example fails to compile for me on Linux, gcc 4.1.2:
{{{
../../../../boost/algorithm/string/detail/find_format_all.hpp: In function
âInputT boost::algorithm::detail::find_format_all_copy_impl(const InputT&,
FinderT, FormatterT, const FindResultT&) [with InputT =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
FinderT = find_compressF, FormatterT =
format_compressF<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, FindResultT =
boost::iterator_range<__gnu_cxx::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
>]â:
../../../../boost/algorithm/string/find_format.hpp:218: instantiated
from âSequenceT boost::algorithm::find_format_all_copy(const SequenceT&,
FinderT, FormatterT) [with SequenceT = std::string, FinderT =
find_compressF, FormatterT = format_compressF<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >]â
rle_example.cpp:210: instantiated from here
../../../../boost/algorithm/string/detail/find_format_all.hpp:115: error:
no matching function for call to âfind_format_all_copy_impl2(const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
find_compressF&, format_compressF<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&, const
boost::iterator_range<__gnu_cxx::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
>&, std::basic_string<char, std::char_traits<char>, std::allocator<char>
>)â
../../../../boost/algorithm/string/detail/find_format_all.hpp: In function
âInputT boost::algorithm::detail::find_format_all_copy_impl(const InputT&,
FinderT, FormatterT, const FindResultT&) [with InputT =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
FinderT = find_decompressF, FormatterT =
format_decompressF<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, FindResultT =
boost::iterator_range<__gnu_cxx::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
>]â:
../../../../boost/algorithm/string/find_format.hpp:218: instantiated
from âSequenceT boost::algorithm::find_format_all_copy(const SequenceT&,
FinderT, FormatterT) [with SequenceT = std::string, FinderT =
find_decompressF, FormatterT = format_decompressF<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >]â
rle_example.cpp:218: instantiated from here
../../../../boost/algorithm/string/detail/find_format_all.hpp:115: error:
no matching function for call to âfind_format_all_copy_impl2(const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
find_decompressF&, format_decompressF<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&, const
boost::iterator_range<__gnu_cxx::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
>&, std::basic_string<char, std::char_traits<char>, std::allocator<char>
>)â
}}}
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1152>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC