Open Babel  3.0
shared_ptr.h
Go to the documentation of this file.
1 /**********************************************************************
2 shared_ptr.h - shared_ptr class.
3 
4 Copyright (C) Copyright (C) 2007 by Chris Morley
5 
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation version 2 of the License.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 ***********************************************************************/
15 
16 #ifndef OB_SHARED_PTR_H
17 #define OB_SHARED_PTR_H
18 
19 #include "openbabel/babelconfig.h"
20 #include OB_SHARED_PTR_HEADER
21 
22 #ifdef __cpp_alias_templates
23  template<class t> using obsharedptr = OB_SHARED_PTR_IMPLEMENTATION<t>;
24 #else
25  #define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
26 #endif
27 
28 #endif // OB_SHARED_PTR_H
29 
#define obsharedptr
Definition: shared_ptr.h:25