A list of type IDs, stored in a size-prefix, contiguous memory block.
More...
#include <type_id_list.hpp>
|
constexpr | type_id_list (pointer data) noexcept |
|
constexpr | type_id_list (const type_id_list &) noexcept=default |
|
type_id_list & | operator= (const type_id_list &) noexcept=default |
|
constexpr | operator bool () const noexcept |
| Queries whether this type list contains data, i.e, data() != nullptr .
|
|
constexpr pointer | data () const noexcept |
| Returns the raw pointer to the size-prefixed list.
|
|
constexpr size_t | size () const noexcept |
| Returns the number of elements in the list.
|
|
constexpr bool | empty () const noexcept |
| Returns size() == 0 .
|
|
constexpr type_id_t | operator[] (size_t index) const noexcept |
| Returns the type ID at index .
|
|
int | compare (type_id_list other) const noexcept |
| Compares this list to other .
|
|
pointer | begin () const noexcept |
| Returns an iterator to the first type ID.
|
|
pointer | end () const noexcept |
| Returns the past-the-end iterator.
|
|
size_t | data_size () const noexcept |
| Returns the number of bytes that a buffer needs to allocate for storing a type-erased tuple for the element types stored in this list. More...
|
|
A list of type IDs, stored in a size-prefix, contiguous memory block.
◆ data_size()
size_t caf::type_id_list::data_size |
( |
| ) |
const |
|
noexcept |
Returns the number of bytes that a buffer needs to allocate for storing a type-erased tuple for the element types stored in this list.
◆ to_string()
◆ types_of()
The documentation for this class was generated from the following files: