COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
assign.h
Go to the documentation of this file.
1//
2// Copyright 2020 - 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/AssignHelper.h"
16
17namespace comms
18{
19
20namespace util
21{
22
40template <typename T, typename TIter>
41void assign(T& obj, TIter from, TIter to)
42{
43 details::AssignHelper<>::assign(obj, from, to);
44}
45
46} // namespace util
47
48} // namespace comms
49
void assign(T &obj, TIter from, TIter to)
Assigns a new value to provided object.
Definition assign.h:41
Main namespace for all classes / functions of COMMS library.