RAUL  0.8.0
IntrusivePtr.hpp
1 /* A "weak" pointer to a resource owned by a shared pointer.
2  * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
3  *
4  * This is free software; you can redistribute it and/or modify it under the
5  * terms of the GNU General Public License as published by the Free Software
6  * Foundation; either version 2 of the License, or (at your option) any later
7  * version.
8  *
9  * This file is distributed in the hope that it will be useful, but WITHOUT ANY
10  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
12  *
13  * You should have received a copy of the GNU General Public License along
14  * with this program; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16  */
17 
18 #ifndef RAUL_INTRUSIVE_PTR_HPP
19 #define RAUL_INTRUSIVE_PTR_HPP
20 
21 #include <boost/intrusive_ptr.hpp>
22 
23 #define IntrusivePtr boost::intrusive_ptr
24 
25 #endif // RAUL_INTRUSIVE_PTR_HPP
26