tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_copy_constructible.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_COPY_CONSTRUCTIBLE_HPP
4#define TETL_TYPE_TRAITS_IS_COPY_CONSTRUCTIBLE_HPP
5
10
11namespace etl {
12
26template <typename T>
27struct is_copy_constructible : is_constructible<T, add_lvalue_reference_t<add_const_t<T>>> { };
28
29template <typename T>
31
32} // namespace etl
33
34#endif // TETL_TYPE_TRAITS_IS_COPY_CONSTRUCTIBLE_HPP
Definition adjacent_find.hpp:8
constexpr bool is_copy_constructible_v
Definition is_copy_constructible.hpp:30
detail::is_constructible_helper< void_t<>, T, Args... > is_constructible
Definition is_constructible.hpp:21
static constexpr bool value
Definition integral_constant.hpp:10
If T is not a referenceable type (i.e., possibly cv-qualified void or a function type with a cv-quali...
Definition is_copy_constructible.hpp:27