12 #ifndef INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_MOVECONSTRUCTQUEUEFUNCTOR_HPP_ 13 #define INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_MOVECONSTRUCTQUEUEFUNCTOR_HPP_ 56 new (storage) T{std::move(
value_)};
69 #endif // INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_MOVECONSTRUCTQUEUEFUNCTOR_HPP_ T && value_
rvalue reference to object that will be used as argument of move constructor
Definition: MoveConstructQueueFunctor.hpp:62
Top-level namespace of distortos project.
Definition: buttons.hpp:33
QueueFunctor class header.
void operator()(void *const storage) const override
Move-constructs the element in the queue's storage.
Definition: MoveConstructQueueFunctor.hpp:54
constexpr MoveConstructQueueFunctor(T &&value)
MoveConstructQueueFunctor's constructor.
Definition: MoveConstructQueueFunctor.hpp:42
QueueFunctor is a type-erased interface for functors which execute some action on queue's storage (li...
Definition: QueueFunctor.hpp:31
Definition: MoveConstructQueueFunctor.hpp:32