![]() |
Home | Libraries | People | FAQ | More |
boost::range_run_storage::copy — Copies the runs and values from an InfiniteRangeRunStorage to an OrderedInserter.
// In header: <boost/range_run_storage/algorithm/copy.hpp> template<typename In, typename Out> Out & copy(In const & in, Out & out);
Copies the runs and values from an InfiniteRangeRunStorage to an OrderedInserter. Complexity is O(N).
| Parameters: |
|
||||
| Requires: |
In is a model of InfiniteRangeRunStorage. Out is a model of OrderedInserter. |
||||
| Returns: | A reference to out. |
||||
| Notes: | You must call range_run_storage::commit() on the return value to commit the changes. |