FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
uniquePtr.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014, Siemens AG
3  * Author: Daniele Fognini, Cedric Bodet, Johannes Najjar
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2
7  * as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty
11  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12  * See the GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18 
19 #ifndef UNIQUE_PTR_HPP_
20 #define UNIQUE_PTR_HPP_
21 
30 //#define USEBOOST_UNIQUEPTR
31 #ifdef USEBOOST_UNIQUEPTR
32  #include <boost/interprocess/smart_ptr/unique_ptr.hpp>
33  namespace unptr = boost::interprocess;
34 #else
35 
36 #include <memory>
37 
38 namespace unptr = std;
39 #endif
40 
41 #endif /* UNIQUE_PTR_HPP_ */