diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-16 22:27:07 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-16 22:27:07 +0100 |
| commit | 15aac395a599c92016bd2d74a7c23ca6eea3d04d (patch) | |
| tree | df161c338e18369e075f4e33e3f51e4c362f35fc /include/ocl/is_same.hpp | |
| parent | 7096a2b477782db54d9e0829b6ad7c6a3314dc2c (diff) | |
chore: format codebase according to .clang-format.v2.0
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/is_same.hpp')
| -rw-r--r-- | include/ocl/is_same.hpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/ocl/is_same.hpp b/include/ocl/is_same.hpp index 519a87b..b8b5ccf 100644 --- a/include/ocl/is_same.hpp +++ b/include/ocl/is_same.hpp @@ -19,7 +19,7 @@ namespace ocl using result_type = typename T::result_type; using type = T; - // AMLALE: If it throws, we can't compute the hash correctly. + // AMLALE: If it throws, we can't compute the hash correctly. static constexpr result_type hash() noexcept { return T{}.hash(); @@ -29,8 +29,8 @@ namespace ocl template <typename T, typename U> struct is_same { - using left_type = T; - using right_type = T; + using left_type = T; + using right_type = T; static constexpr bool value = false; }; @@ -44,8 +44,8 @@ namespace ocl template <typename T, typename U> struct is_not_same { - using left_type = T; - using right_type = T; + using left_type = T; + using right_type = T; static constexpr bool value = true; }; @@ -61,7 +61,7 @@ namespace ocl { using result_type = bool; - static constexpr auto value = sizeof(T) == 1; + static constexpr auto value = sizeof(T) == 1; }; template <typename T> @@ -69,7 +69,7 @@ namespace ocl { using result_type = bool; - static constexpr auto value = sizeof(T) > 1; + static constexpr auto value = sizeof(T) > 1; }; template <typename T> @@ -77,27 +77,27 @@ namespace ocl { using result_type = bool; - static constexpr auto value = sizeof(T) >= 4; + static constexpr auto value = sizeof(T) >= 4; }; template <typename L, typename R> struct equiv_is final { using result_type = bool; - using left_type = L; - using right_type = R; + using left_type = L; + using right_type = R; - static constexpr auto value = false; + static constexpr auto value = false; }; template <typename L> struct equiv_is<L, L> final { using result_type = bool; - using left_type = L; - using right_type = L; + using left_type = L; + using right_type = L; - static constexpr auto value = true; + static constexpr auto value = true; }; } // namespace ocl |
