[ create a new paste ] login | about

Link: http://codepad.org/hkIM9ali    [ raw code | output | fork ]

C++, pasted on Sep 5:
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;
}


Output:
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.


Create a new paste based on this one


Comments: