1
0
forked from fsfw/fsfw

Array List Entry swapper function

And respective SerialAdapter functions to use it
This commit is contained in:
2020-01-22 14:24:48 +01:00
parent 3d2bdae14d
commit 1977942c4b
5 changed files with 36 additions and 15 deletions

View File

@ -19,6 +19,10 @@
template<typename T>
class SerializeElement : public SerializeIF, public LinkedElement<SerializeIF> {
public:
/**
* Arguments are forwarded to the element datatype constructor
* @param args
*/
template<typename... Args>
SerializeElement(Args... args) : LinkedElement<SerializeIF>(this), entry(std::forward<Args>(args)...) {