| 1 | // |
| 2 | // AutoPtr.h |
| 3 | // |
| 4 | // Library: Foundation |
| 5 | // Package: Core |
| 6 | // Module: AutoPtr |
| 7 | // |
| 8 | // Definition of the AutoPtr template class. |
| 9 | // |
| 10 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. |
| 11 | // and Contributors. |
| 12 | // |
| 13 | // SPDX-License-Identifier: BSL-1.0 |
| 14 | // |
| 15 | |
| 16 | |
| 17 | #ifndef Foundation_AutoPtr_INCLUDED |
| 18 | #define Foundation_AutoPtr_INCLUDED |
| 19 | |
| 20 | |
| 21 | #include "Poco/RefPtr.h" |
| 22 | |
| 23 | |
| 24 | namespace Poco { |
| 25 | |
| 26 | |
| 27 | template<class T> |
| 28 | using AutoPtr = RefPtr<T>; |
| 29 | |
| 30 | |
| 31 | } // namespace Poco |
| 32 | |
| 33 | |
| 34 | #endif // Foundation_AutoPtr_INCLUDED |
| 35 | |