Loading...
Searching...
No Matches
unique_ptr_list
Go to the documentation of this file.
// vi:set ft=cpp: -*- Mode: C++ -*-
/*
* Copyright (C) 2018-2019, 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/unique_ptr>
#include "bits/smart_ptr_list.h"
namespace cxx {
template <typename T>
using Unique_ptr_list_item = Bits::Smart_ptr_list_item<T, cxx::unique_ptr<T> >;
template <typename T>
using Unique_ptr_list = Bits::Smart_ptr_list<Unique_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::Unique_ptr_list_item
Bits::Smart_ptr_list_item< T, cxx::unique_ptr< T > > Unique_ptr_list_item
Item for list linked with cxx::unique_ptr.
Definition unique_ptr_list:22
cxx::Unique_ptr_list
Bits::Smart_ptr_list< Unique_ptr_list_item< T > > Unique_ptr_list
Single-linked list where elements are connected with a cxx::unique_ptr.
Definition unique_ptr_list:28
smart_ptr_list.h
Implementation of a list of smart-pointer-managed objects.