here you just can just write smth. like this one-liner (kudos to c++11 :)) :

#include <cor/util.hpp> // at the top, std::make_unique<> was overlooked, coming already in the next standard
...
// strong exception safety if there can be one
devices_.insert({v, cor::make_unique<Device>(service_name, v.path(), bus_)});