$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] std::back_inserter() with move semantics?
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2009-02-06 11:30:04
Hi,
I'm currently using std::back_inserter on a ptr_vector, and the values being
inserted are boost::unique_ptr's. back_inserter does simple assignment but I
need it to call boost::move() on the thing being assigned (inserted). Does
boost have an algorithm that can do this?