I\'m trying to use the C++0x unique_ptr class inside a map like so:
// compile with `g++ main.cpp -std=gnu++0x` #include #include
Try using emplace method of map.
emplace