tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_nothrow_copy_assignable.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_COPY_ASSIGNABLE_HPP
5#define TETL_TYPE_TRAITS_IS_NOTHROW_COPY_ASSIGNABLE_HPP
6
7#include <etl/_type_traits/add_lvalue_reference.hpp>
8#include <etl/_type_traits/bool_constant.hpp>
9
10namespace etl {
11
12/// \brief If T is not a referenceable type (i.e., possibly cv-qualified void or
13/// a function type with a cv-qualifier-seq or a ref-qualifier), provides a
14/// member constant value equal to false. Otherwise, provides a member constant
15/// value equal to etl::is_nothrow_assignable<T&, T const&>::value.
16///
17/// \details T shall be a complete type, (possibly cv-qualified) void, or an
18/// array of unknown bound. Otherwise, the behavior is undefined. If an
19/// instantiation of a template above depends, directly or indirectly, on an
20/// incomplete type, and that instantiation could yield a different result if
21/// that type were hypothetically completed, the behavior is undefined. The
22/// behavior of a program that adds specializations for any of the templates
23/// described on this page is undefined.
24template <typename T>
27
28template <typename T>
30
31} // namespace etl
32
33#endif // TETL_TYPE_TRAITS_IS_NOTHROW_COPY_ASSIGNABLE_HPP
Definition adjacent_find.hpp:9
constexpr bool is_nothrow_copy_assignable_v
Definition is_nothrow_copy_assignable.hpp:29
If T is not a referenceable type (i.e., possibly cv-qualified void or a function type with a cv-quali...
Definition is_nothrow_copy_assignable.hpp:26