Boost logo

Boost Users :

Subject: Re: [Boost-users] [range] Best way to construct a std::set fromarange?
From: Sebastian Theophil (stheophil_at_[hidden])
Date: 2010-03-08 09:52:23


Hi Jeff,

I'm still using boost 1.35 and boost::copy_range is defined in

boost\range\iterator_range.hpp

Regards
Sebastian

> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Jeff Flinn
> Sent: Samstag, 6. März 2010 01:49
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] [range] Best way to construct a std::set
> fromarange?
>
> Sebastian Theophil wrote:
> > Or you could do
> >
> > std::set<SomeType> s = boost::copy_range< std::set<SomeType> >( range
> );
>
> Cool, where's boost::copy_range defined? This should be usable in an
> initializer list as well I presume.
>
> Jeff
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

--
Sebastian Theophil · stheophil_at_[hidden]
Software Engineer
 
think-cell Software GmbH · Chausseestr. 8/E · 10115 Berlin, Germany 
http://www.think-cell.com · phone +49 30 666473-10 · toll-free (US) +1 800 891 8091
Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl · Amtsgericht Berlin-Charlottenburg, HRB 85229

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