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