COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
construct.h
Go to the documentation of this file.
1//
2// Copyright 2024 - 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
12
13#pragma once
14
15#include "comms/util/details/ConstructHelper.h"
16
17namespace comms
18{
19
20namespace util
21{
22
27template <typename T, typename TIter>
28T construct(TIter from, TIter to)
29{
30 return details::ConstructHelper<T>::construct(from, to);
31}
32
33} // namespace util
34
35} // namespace comms
36
T construct(TIter from, TIter to)
Construct collection objects given two range iterators.
Definition construct.h:28
Main namespace for all classes / functions of COMMS library.