COMMS
Template library intended to help with implementation of communication protocols.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
construct.h
Go to the documentation of this file.
1//
2// Copyright 2024 - 2025 (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
10
11#pragma once
12
13#include "comms/util/details/ConstructHelper.h"
14
15namespace comms
16{
17
18namespace util
19{
20
25template <typename T, typename TIter>
26T construct(TIter from, TIter to)
27{
28 return details::ConstructHelper<T>::construct(from, to);
29}
30
31} // namespace util
32
33} // namespace comms
34
T construct(TIter from, TIter to)
Construct collection objects given two range iterators.
Definition construct.h:26
Main namespace for all classes / functions of COMMS library.