tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_nothrow_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_NOTHROW_MOVE_CONSTRUCTIBLE_HPP
5#define TETL_TYPE_TRAITS_IS_NOTHROW_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_nothrow_constructible.hpp>
10
11namespace 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_nothrow_constructible<T, T&&>::value.
17template <typename T>
18struct is_nothrow_move_constructible : is_nothrow_constructible<T, add_rvalue_reference_t<T>> { };
19
20template <typename T>
22
23} // namespace etl
24
25#endif // TETL_TYPE_TRAITS_IS_NOTHROW_MOVE_CONSTRUCTIBLE_HPP
Definition adjacent_find.hpp:9
constexpr bool is_nothrow_move_constructible_v
Definition is_nothrow_move_constructible.hpp:21
The variable definition does not call any operation that is not trivial. For the purposes of this che...
Definition is_nothrow_constructible.hpp:48
If T is not a referenceable type (i.e., possibly cv-qualified void or a function type with a cv-quali...
Definition is_nothrow_move_constructible.hpp:18