Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-07-25 13:19:22


I was even returning ostream by value... /me leaves C++ alone for a
while

> -----Original Message-----
> From: Sohail Somani
> Sent: Tuesday, July 25, 2006 10:17 AM
> To: 'boost_at_[hidden]'
> Subject: RE: [boost] [Test] BOOST_*COLLECTIONS
>
> AHHHHH. Brain fart. Thanks.
>
> > -----Original Message-----
> > From: boost-bounces_at_[hidden]
> > [mailto:boost-bounces_at_[hidden]] On Behalf Of Philippe Vaucher
> > Sent: Tuesday, July 25, 2006 10:07 AM
> > To: boost_at_[hidden]
> > Subject: Re: [boost] [Test] BOOST_*COLLECTIONS
> >
> > >
> > > 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
> > _______________________________________________
> > Unsubscribe & other changes:
> > http://lists.boost.org/mailman/listinfo.cgi/boost
> >


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