50 = L4::Detail::Shared_cap_impl<T, L4Re::Util::Smart_count_cap<L4_FP_ALL_SPACES>>;
53using shared_cap [[deprecated(
"Use L4Re::Util::Shared_cap.")]]
54 = L4::Detail::Shared_cap_impl<T, L4Re::Util::Smart_count_cap<L4_FP_ALL_SPACES>>;
78template<
typename T,
typename U>
97template<
typename T,
typename U>
114template<
typename T,
typename U>
133template<
typename T,
typename U>
150template<
typename T,
typename U>
171template<
typename T,
typename U>
214template<
typename T >
216 = L4::Detail::Shared_cap_impl<T, L4Re::Util::Smart_count_cap<L4_FP_DELETE_OBJ>>;
218template<
typename T >
219using shared_del_cap [[deprecated(
"Use L4Re::Util::Shared_del_cap.")]]
220 = L4::Detail::Shared_cap_impl<T, L4Re::Util::Smart_count_cap<L4_FP_DELETE_OBJ>>;
227template<
typename T >
244template<
typename T,
typename U>
263template<
typename T,
typename U>
280template<
typename T,
typename U>
300template<
typename T,
typename U>
318template<
typename T,
typename U>
340template<
typename T,
typename U>
_Cap_alloc cap_alloc
Capability allocator.
Documentation of the L4 Runtime Environment utility functionality in C++.
Shared_del_cap< T > make_shared_del_cap()
Allocate a capability slot and wrap it in a Shared_del_cap.
Shared_cap< T > make_shared_cap()
Allocate a capability slot and wrap it in a Shared_cap.
Shared_del_cap< T > shared_del_cap_reinterpret_cast(Shared_del_cap< U > const &from) noexcept
Create a new shared capability by a reinterpret cast from another shared capability.
Shared_cap< T > shared_cap_reinterpret_cast(Shared_cap< U > const &from) noexcept
Create a new shared capability by a reinterpret cast from another shared capability.
Shared_del_cap< T > shared_del_cap_cast(Shared_del_cap< U > const &from) noexcept
Create a new shared capability by an explicit cast from another shared capability.
L4::Detail::Shared_cap_impl< T, L4Re::Util::Smart_count_cap< L4_FP_DELETE_OBJ > > Shared_del_cap
Shared capability that implements automatic free and unmap+delete of the capability selector.
L4::Detail::Shared_cap_impl< T, L4Re::Util::Smart_count_cap< L4_FP_ALL_SPACES > > Shared_cap
Shared capability that implements automatic free and unmap of the capability selector.
Shared_cap< T > shared_cap_dynamic_cast(Shared_cap< U > const &from) noexcept
Create a new shared capability by a dynamic cast from another shared capability.
Shared_del_cap< T > shared_del_cap_dynamic_cast(Shared_del_cap< U > const &from) noexcept
Create a new shared capability by a dynamic cast from another shared capability.
Shared_cap< T > shared_cap_cast(Shared_cap< U > const &from) noexcept
Create a new shared capability by an explicit cast from another shared capability.
Cap< T > cap_reinterpret_cast(Cap< F > const &c) noexcept
reinterpret_cast for capabilities.
Cap< T > cap_cast(Cap< F > const &c) noexcept
static_cast for capabilities.
Cap< T > cap_dynamic_cast(Cap< F > const &c) noexcept
dynamic_cast for capabilities.