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