tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_trivially_move_constructible.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4
#
ifndef
TETL_TYPE_TRAITS_IS_TRIVIALLY_MOVE_CONSTRUCTIBLE_HPP
5
#
define
TETL_TYPE_TRAITS_IS_TRIVIALLY_MOVE_CONSTRUCTIBLE_HPP
6
7
#
include
<
etl
/
_type_traits
/
add_rvalue_reference
.
hpp
>
8
#
include
<
etl
/
_type_traits
/
bool_constant
.
hpp
>
9
#
include
<
etl
/
_type_traits
/
is_trivially_constructible
.
hpp
>
10
11
namespace
etl
{
12
13
/// \brief If T is not a referenceable type (i.e., possibly cv-qualified void or
14
/// a function type with a cv-qualifier-seq or a ref-qualifier), provides a
15
/// member constant value equal to false. Otherwise, provides a member constant
16
/// value equal to etl::is_trivially_constructible<T, T&&>::value.
17
template
<
typename
T>
18
struct
is_trivially_move_constructible
19
:
bool_constant
<
__is_trivially_constructible
(
T
,
add_rvalue_reference_t
<
add_const_t
<
T
>>)> { };
20
21
template
<
typename
T
>
22
inline
constexpr
auto
is_trivially_move_constructible_v
=
is_trivially_move_constructible
<
T
>::
value
;
23
24
}
// namespace etl
25
26
#
endif
// TETL_TYPE_TRAITS_IS_TRIVIALLY_MOVE_CONSTRUCTIBLE_HPP
etl
Definition
adjacent_find.hpp:9
etl::is_trivially_move_constructible_v
constexpr auto is_trivially_move_constructible_v
Definition
is_trivially_move_constructible.hpp:22
etl::is_trivially_move_constructible
If T is not a referenceable type (i.e., possibly cv-qualified void or a function type with a cv-quali...
Definition
is_trivially_move_constructible.hpp:19
include
etl
_type_traits
is_trivially_move_constructible.hpp
Generated on Sun Sep 7 2025 19:15:18 for tetl by
1.9.8