1 2 3 4 5 6 7 8 9 10 11 12 13
#include <boost/interprocess/smart_ptr/unique_ptr.hpp> #include <string> using namespace std; using namespace boost::interprocess; int main() { unique_ptr<string> sPtr(new string("adsf")); return 0; }
1 2 3
Line 54: error: boost/interprocess/smart_ptr/unique_ptr.hpp: No such file or directory Line 6: error: 'interprocess' is not a namespace-name compilation terminated due to -Wfatal-errors.