duckstax/actor-zeta

Remove default ctors for actor_zeta::base::message and actor_zeta::detail::rtt (message body)

GremSnoort opened this issue · 0 comments

actor_zeta::detail::single_reader_queue has a default ctor:
[references develop]
https://github.com/duckstax/actor-zeta/blob/develop/header/actor-zeta/detail/single_reader_queue.hpp#L127-L130
single_reader_queue() : head_(nullptr) { stack_ = stack_empty_dummy(); }
and actor_zeta::detail::intrusive_partitioned_list has a default ctor:
https://github.com/duckstax/actor-zeta/blob/develop/header/actor-zeta/detail/intrusive_partitioned_list.hpp#L79-L84
`intrusive_partitioned_list() {

head_.next = &separator_;

separator_.prev = &head_;

separator_.next = &tail_;

tail_.prev = &separator_;

}`
and also has private section:
https://github.com/duckstax/actor-zeta/blob/develop/header/actor-zeta/detail/intrusive_partitioned_list.hpp#L178-L182
with plain non-pointer type https://github.com/duckstax/actor-zeta/blob/develop/header/actor-zeta/detail/intrusive_partitioned_list.hpp#L17
all of these block removing default ctors in message and rtt (message body)