Boost logo

Boost Users :

Subject: Re: [Boost-users] [range] Best way to construct a std::set from arange?
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2010-03-05 19:48:57


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 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