Boost logo

Boost Users :

From: Olaf Peter (ope-devel_at_[hidden])
Date: 2008-03-30 11:56:40


> I'm not sure I understand what you're trying to achieve. If you only
> want the overload to be found for formatters, say
>
> template<typename T>
> inline std::ostream& operator<<( std::ostream& os, const formatter<T>& rhs )
> {
> return rhs.write_on( os );
> }

Yes that's is; it was yesterday too late in the evening.

Thanks,
Olaf


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