Loading...
Searching...
No Matches
ref_ptr_list
Go to the documentation of this file.
// vi:set ft=cpp: -*- Mode: C++ -*-
/*
* Copyright (C) 2018, 2022, 2024 Kernkonzept GmbH.
* Author(s): Sarah Hoffmann <sarah.hoffmann@kernkonzept.com>
*
* License: see LICENSE.spdx (in this directory or the directories above)
*/
#pragma once
#include <l4/cxx/ref_ptr>
#include "bits/smart_ptr_list.h"
namespace cxx {
template <typename T>
using Ref_ptr_list_item = Bits::Smart_ptr_list_item<T, cxx::Ref_ptr<T> >;
template <typename T>
struct Ref_obj_list_item : public Ref_ptr_list_item<T>, public cxx::Ref_obj {};
template <typename T>
using Ref_ptr_list = Bits::Smart_ptr_list<Ref_ptr_list_item<T> >;
}
cxx::Bits::Smart_ptr_list_item
List item for an arbitrary item in a Smart_ptr_list.
Definition smart_ptr_list.h:28
cxx::Bits::Smart_ptr_list
List of smart-pointer-managed objects.
Definition smart_ptr_list.h:47
cxx
Our C++ library.
Definition arith:11
cxx::Ref_ptr_list_item
Bits::Smart_ptr_list_item< T, cxx::Ref_ptr< T > > Ref_ptr_list_item
Item for list linked with cxx::Ref_ptr.
Definition ref_ptr_list:22
cxx::Ref_ptr_list
Bits::Smart_ptr_list< Ref_ptr_list_item< T > > Ref_ptr_list
Single-linked list where elements are connected via a cxx::Ref_ptr.
Definition ref_ptr_list:32
smart_ptr_list.h
Implementation of a list of smart-pointer-managed objects.
cxx::Ref_obj_list_item
Item for list linked via cxx::Ref_ptr with default refence counting.
Definition ref_ptr_list:26