COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
MessageIdTypeRetriever.h
1//
2// Copyright 2019 - 2024 (C). Alex Robenko. All rights reserved.
3//
4// This Source Code Form is subject to the terms of the Mozilla Public
5// License, v. 2.0. If a copy of the MPL was not distributed with this
6// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
8#pragma once
9
10namespace comms
11{
12
13namespace details
14{
15
16template <typename...>
17struct MessageIdTypeRetriever
18{
19 template <typename TDefault, typename TMsg>
20 using Type = typename TMsg::MsgIdType;
21};
22
23} // namespace details
24
25} // namespace comms
Main namespace for all classes / functions of COMMS library.