Line | |
---|
1 | // Copyright David Abrahams 2003.
|
---|
2 | // Distributed under the Boost Software License, Version 1.0. (See
|
---|
3 | // accompanying file LICENSE_1_0.txt or copy at
|
---|
4 | // http://www.boost.org/LICENSE_1_0.txt)
|
---|
5 | #ifndef IS_AUTO_PTR_DWA2003224_HPP
|
---|
6 | # define IS_AUTO_PTR_DWA2003224_HPP
|
---|
7 |
|
---|
8 | # ifndef BOOST_NO_AUTO_PTR
|
---|
9 | # include <boost/python/detail/is_xxx.hpp>
|
---|
10 | # include <memory>
|
---|
11 | # endif
|
---|
12 |
|
---|
13 | namespace boost { namespace python { namespace detail {
|
---|
14 |
|
---|
15 | # if !defined(BOOST_NO_AUTO_PTR)
|
---|
16 |
|
---|
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
|
---|
18 |
|
---|
19 | # else
|
---|
20 |
|
---|
21 | template <class T>
|
---|
22 | struct is_auto_ptr : mpl::false_
|
---|
23 | {
|
---|
24 | };
|
---|
25 |
|
---|
26 | # endif
|
---|
27 |
|
---|
28 | }}} // namespace boost::python::detail
|
---|
29 |
|
---|
30 | #endif // IS_AUTO_PTR_DWA2003224_HPP
|
---|
Note: See
TracBrowser
for help on using the repository browser.