tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_null_pointer.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_NULL_POINTER_HPP
4#define TETL_TYPE_TRAITS_IS_NULL_POINTER_HPP
5
9
10namespace etl {
11
12template <typename T>
13struct is_null_pointer : is_same<nullptr_t, remove_cv_t<T>> { };
14
15template <typename T>
17
18} // namespace etl
19
20#endif // TETL_TYPE_TRAITS_IS_NULL_POINTER_HPP
Definition adjacent_find.hpp:8
constexpr bool is_null_pointer_v
Definition is_null_pointer.hpp:16
static constexpr bool value
Definition integral_constant.hpp:10
Definition is_null_pointer.hpp:13
If T and U name the same type (taking into account const/volatile qualifications),...
Definition is_same.hpp:20