Farid Zaripov wrote:
[...]
The simple solution is replace template <class _OutputIter> version of
the
__rw_iter_failed (const _OutputIter&) to the non-template
__rw_iter_failed (...).
That won't work for class types (only fundamental types can be
passed through the ellipsis).
Would getting rid of the const reference work or does it have
the same problem? __rw_iter_failed (_OutputIter).
Or how about defining two ordinary overloads and the template
as a workaround:
__rw_iter_failed (const _OutputIter&);
__rw_iter_failed (const std::ostreambuf_iterator<char>&);
__rw_iter_failed (const std::ostreambuf_iterator<wchar_t>&);
Martin