template for PDU::Handler type
This commit is contained in:
parent
4dfac265c7
commit
5620a6c7e1
|
@ -24,6 +24,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <istream>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -134,6 +135,9 @@ private:
|
|||
};
|
||||
|
||||
|
||||
template <typename T>
|
||||
using Handler = std::function<void(std::shared_ptr<T>)>;
|
||||
|
||||
template <typename T>
|
||||
using Block = std::shared_ptr<std::vector<std::shared_ptr<T>>>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue