Spicy
hilti
toolchain
include
base
intrusive-ptr.h
1
// Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
2
3
#pragma once
4
5
#include <utility>
6
7
#include <hilti/rt/intrusive-ptr.h>
8
9
namespace
hilti
{
10
11
template
<
class
T>
12
using
IntrusivePtr =
hilti::rt::IntrusivePtr<T>
;
13
14
namespace
intrusive_ptr {
15
using
AdoptRef =
::hilti::rt::intrusive_ptr::AdoptRef
;
16
using
NewRef =
::hilti::rt::intrusive_ptr::NewRef
;
17
using
ManagedObject =
::hilti::rt::intrusive_ptr::ManagedObject
;
18
}
// namespace intrusive_ptr
19
20
using
rt::cast_intrusive
;
21
using
rt::make_intrusive;
22
23
}
// namespace hilti
hilti::rt::intrusive_ptr::NewRef
Definition:
intrusive-ptr.h:25
hilti::rt::intrusive_ptr::AdoptRef
Definition:
intrusive-ptr.h:19
hilti::rt::intrusive_ptr::ManagedObject
Definition:
intrusive-ptr.h:28
hilti
hilti::rt::cast_intrusive
IntrusivePtr< T > cast_intrusive(IntrusivePtr< U > p) noexcept
Definition:
intrusive-ptr.h:184
hilti::rt::IntrusivePtr
Definition:
intrusive-ptr.h:69
Generated by
1.8.13