diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-14 04:35:26 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-14 04:35:26 +0200 |
| commit | a786997f304745ce3766a82be06dc6a5d0c2f02c (patch) | |
| tree | db923caaec3762fbb68290fd1ae94cb1465378e7 /dev/lib/logic | |
| parent | fa4748e414e9494442f9bcde9c659d3951af19c0 (diff) | |
feat: scl: major refactors and new version of SCL.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/logic')
| -rw-r--r-- | dev/lib/logic/equiv.hpp | 4 | ||||
| -rw-r--r-- | dev/lib/logic/math.hpp | 4 | ||||
| -rw-r--r-- | dev/lib/logic/opt.hpp | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/dev/lib/logic/equiv.hpp b/dev/lib/logic/equiv.hpp index 5b022f8..05d0f53 100644 --- a/dev/lib/logic/equiv.hpp +++ b/dev/lib/logic/equiv.hpp @@ -8,7 +8,7 @@ #pragma once /// @brief OCL equivalence namespace. -namespace ocl::equiv +namespace scl::equiv { template <typename T> struct basic_hash_trait @@ -101,4 +101,4 @@ namespace ocl::equiv return left_ / right_ == 1; } }; -} // namespace ocl::equiv +} // namespace scl::equiv diff --git a/dev/lib/logic/math.hpp b/dev/lib/logic/math.hpp index e796eae..2d00595 100644 --- a/dev/lib/logic/math.hpp +++ b/dev/lib/logic/math.hpp @@ -9,7 +9,7 @@ #include <cmath> -namespace ocl +namespace scl { template <std::size_t T> struct is_non_boolean_integer final @@ -32,4 +32,4 @@ namespace ocl constexpr inline auto not_a_number = NAN; constexpr inline auto positive_infinity = INFINITY; constexpr inline auto negative_infinity = -positive_infinity; -} // namespace ocl
\ No newline at end of file +} // namespace scl
\ No newline at end of file diff --git a/dev/lib/logic/opt.hpp b/dev/lib/logic/opt.hpp index 137460c..4ce999c 100644 --- a/dev/lib/logic/opt.hpp +++ b/dev/lib/logic/opt.hpp @@ -4,13 +4,13 @@ * Copyright 2023-2025, Amlal El Mahrouss */ -#ifndef _OCL_OPT_HPP -#define _OCL_OPT_HPP +#ifndef _SCL_OPT_HPP +#define _SCL_OPT_HPP #include <lib/except/error.hpp> #include <utility> -namespace ocl +namespace scl { enum class return_type { @@ -129,6 +129,6 @@ namespace ocl { return return_type::err; } -} // namespace ocl +} // namespace scl -#endif /* ifndef _OCL_OPT_HPP */ +#endif /* ifndef _SCL_OPT_HPP */ |
