iceoryx_doc
1.0.1
iceoryx_utils
internal
cxx
newtype
constructor.hpp
1
// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
//
15
// SPDX-License-Identifier: Apache-2.0
16
#ifndef IOX_UTILS_CXX_NEWTYPE_CONSTRUCTOR_HPP
17
#define IOX_UTILS_CXX_NEWTYPE_CONSTRUCTOR_HPP
18
19
namespace
iox
20
{
21
namespace
cxx
22
{
23
namespace
newtype
24
{
25
template
<
typename
T>
26
struct
CopyConstructable
27
{
28
};
29
30
template
<
typename
T>
31
struct
MoveConstructable
32
{
33
};
34
35
template
<
typename
T>
36
struct
ConstructByValueCopy
37
{
38
};
39
40
template
<
typename
T>
41
struct
DefaultConstructable
42
{
43
};
44
}
// namespace newtype
45
}
// namespace cxx
46
}
// namespace iox
47
48
#endif
iox
building block to easily create free function for logging in a library context
Definition:
lockfree_queue.hpp:28
iox::cxx::newtype::ConstructByValueCopy
Definition:
constructor.hpp:37
iox::cxx::newtype::CopyConstructable
Definition:
constructor.hpp:27
iox::cxx::newtype::DefaultConstructable
Definition:
constructor.hpp:42
iox::cxx::newtype::MoveConstructable
Definition:
constructor.hpp:32
Generated by
1.9.1