distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
#include "distortos/internal/synchronization/MoveConstructQueueFunctor.hpp"
Public Member Functions | |
constexpr | MoveConstructQueueFunctor (T &&value) |
MoveConstructQueueFunctor's constructor. More... | |
void | operator() (void *const storage) const override |
Move-constructs the element in the queue's storage. More... | |
Private Attributes | |
T && | value_ |
rvalue reference to object that will be used as argument of move constructor More... | |
MoveConstructQueueFunctor is a functor used for pushing of data to the queue using move-construction
T | is the type of data pushed to the queue |
|
inlineexplicit |
MoveConstructQueueFunctor's constructor.
[in] | value | is a rvalue reference to object that will be used as argument of move constructor |
|
inlineoverride |
Move-constructs the element in the queue's storage.
[in,out] | storage | is a pointer to storage for element |
|
private |
rvalue reference to object that will be used as argument of move constructor