30 Mar
2008
30 Mar
'08
3:56 p.m.
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