Boost logo

Boost :

From: Richard Hodges (hodges.r_at_[hidden])
Date: 2020-10-02 21:30:59


On Fri, 2 Oct 2020 at 22:48, Peter Dimov via Boost <boost_at_[hidden]>
wrote:

> Casey Bodley wrote:
>
> > std::ostream already gives you the tools to customize the output of
> types
> > by overloading operator<<.
>
> I don't think you can overload op<< for char.
>

Or any fundamental type. It might be an idea to have a CPO which the PFR
lib prefers if defined, falling back to operator<< if not.

>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
Richard Hodges
hodges.r_at_[hidden]
office: +442032898513
home: +376841522
mobile: +376380212

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk