libcopp 2.3.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
intrusive_ptr.h
Go to the documentation of this file.
1// Copyright 2025 owent
2// Created by owent on 2017-05-18
3
4#pragma once
5
7
8LIBCOPP_COPP_NAMESPACE_BEGIN
9namespace util {
10
11template <typename T>
12using intrusive_ptr = LIBCOPP_COPP_NAMESPACE_ID::memory::intrusive_ptr<T>;
13
14using LIBCOPP_COPP_NAMESPACE_ID::memory::const_pointer_cast;
15using LIBCOPP_COPP_NAMESPACE_ID::memory::dynamic_pointer_cast;
16using LIBCOPP_COPP_NAMESPACE_ID::memory::get_pointer;
17using LIBCOPP_COPP_NAMESPACE_ID::memory::static_pointer_cast;
18using LIBCOPP_COPP_NAMESPACE_ID::memory::swap;
19
20} // namespace util
21LIBCOPP_COPP_NAMESPACE_END
LIBCOPP_COPP_NAMESPACE_ID::memory::intrusive_ptr< T > intrusive_ptr