wrote:
> Hi I have the following error.
> ./cs512/c++/cppdef/dsa.cpp:175: error: no matching function for call
> to 'str_to_numlist(std::back_insert_iterator<std::vec tor<BigInteger,
> std::allocator<BigInteger> > >, const std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >&, const BigInteger&)'
Are you sure that the 'value_type' type of 'back_insert_iterator'
is the same as 'BigInteger'?
> [..]
> // inside StringConversiondef.hpp
> template <typename OutputIterator>
> OutputIterator encryptcpw::str_to_numlist(OutputIterator OutIt, const
> std::string& s, typename OutputIterator::value_type bound)
> {
> //...
> }
> What is wrong?
Not sure. Can you distill it to a simple sample without all the
namespaces and BigIntegers?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask