Merge "Update deprecated libprivilege-control API functions." into tizen
[platform/framework/native/appfw.git] / inc / unique_ptr.h
1 // 
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd. 
3 // 
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 #ifndef _UNIQUE_PTR_H_
18 #define _UNIQUE_PTR_H_
19
20 #if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
21
22 #include <memory>
23
24 #else
25
26 #include <unique_ptr.hpp>
27
28 namespace std
29 {
30
31 using boost::unique_ptr;
32 using boost::default_delete;
33 using boost::move;
34 using boost::forward;
35 using boost::swap;
36
37 }
38
39 #endif // __cplusplus || EXPERIMENTAL
40
41 #endif // _UNIQUE_PTR_H_