Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-16 19:49:29


AMDG

John C. Femiani wrote:
> Is it possible & legal to overload the operator for
> ::boost::wrap_stringstream instead of std::ostream?

No good. It gets cast back to an ostream& too soon. A legal (according
to the C++ standard at least) way would be to overload for
boost::test_tools::tt_detail::print_helper_t<std::vector<T> > instead of
vector
or to specialize boost::test_tools::tt_detail::print_log_value.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net