Boost logo

Boost :

From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2006-07-25 13:07:03


>
> template<typename T,size_t N>
> std::ostream operator<<(const std::ostream & os, const boost::array<T,N> &
> arr)
>

The ostream can't be const, as you write to it.
You'd return an ostream& too.

Philippe


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