class movable_sbo_storage
Declaration
template <typename Base,
std::size_t EmbeddedStorageSize,
std::size_t AlignmentSize = sizeof(void*)>
class movable_sbo_storage { /* full declaration omitted */ };Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:62
Member Variables
- protected anonymous struct / union
- protected pika::detail::movable_sbo_storage::base_type* object = const_cast<type-parameter-0-0 *>(get_empty_vtable<type-parameter-0-0>())
- protected static const std::size_t embedded_storage_size = EmbeddedStorageSize
- protected static const std::size_t alignment_size = AlignmentSize
Method Overview
- protected template <typename Impl>static constexpr bool can_use_embedded_storage()
- protected bool empty() const noexcept
- public const pika::detail::movable_sbo_storage::base_type & get() const noexcept
- public pika::detail::movable_sbo_storage::base_type & get() noexcept
- public movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize>()
- public movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize>(movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize> && other)
- public movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize>(const movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize> &)
- protected void move_assign(movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize> && other) &
- protected void release()
- protected void reset_vtable()
- public template <typename Impl, typename... Ts>void store(Ts &&... ts)
- protected bool using_embedded_storage() const noexcept
- public ~movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize>()
Methods
template <typename Impl>
static constexpr bool can_use_embedded_storage()
template <typename Impl>
static constexpr bool can_use_embedded_storage()Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:88
bool empty() const noexcept
bool empty() const noexceptDeclared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:103
const pika::detail::movable_sbo_storage::
base_type&
get() const noexcept
const pika::detail::movable_sbo_storage::
base_type&
get() const noexceptDeclared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:188
pika::detail::movable_sbo_storage::base_type&
get() noexcept
pika::detail::movable_sbo_storage::base_type&
get() noexceptDeclared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:193
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>()
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>()Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:156
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>(
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>&& other)
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>(
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>&& other)Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:166
Parameters
- movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize>&& other
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>(
const movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>&)
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>(
const movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>&)Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:185
Parameters
- const movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize>&
void move_assign(
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>&& other) &
void move_assign(
movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>&& other) &Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:130
Parameters
- movable_sbo_storage<Base, EmbeddedStorageSize, AlignmentSize>&& other
void release()
void release()Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:113
void reset_vtable()
void reset_vtable()Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:108
template <typename Impl, typename... Ts>
void store(Ts&&... ts)
template <typename Impl, typename... Ts>
void store(Ts&&... ts)Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:199
Parameters
- Ts&&... ts
bool using_embedded_storage() const noexcept
bool using_embedded_storage() const noexceptDeclared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:97
~movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>()
~movable_sbo_storage<Base,
EmbeddedStorageSize,
AlignmentSize>()Declared at: libs/pika/execution_base/include/pika/execution_base/any_sender.hpp:158