summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/option.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-19 19:03:11 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-19 19:06:36 +0100
commit342e5b1b5aa555d7a910e2fdc150c6fe0823e065 (patch)
tree4c99cc76bf028589c238f0daba8e9229ff89ffd8 /include/ocl/option.hpp
parentc87aa0ceca04810350c0bf1dfcefad1286982e26 (diff)
feat! equiv.hpp include, which deprecates is_same.hpp.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/option.hpp')
-rw-r--r--include/ocl/option.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ocl/option.hpp b/include/ocl/option.hpp
index 2fa47e9..c1c8476 100644
--- a/include/ocl/option.hpp
+++ b/include/ocl/option.hpp
@@ -12,7 +12,7 @@
namespace ocl
{
- enum struct return_type
+ enum struct return_type : int
{
invalid = 0,
okay = 100,
@@ -67,12 +67,12 @@ namespace ocl
namespace detail
{
- // AMLALE: They (operator()) were marked `noexcept` as failing conditions within an evaluation (say a overloads operator==) proves that the
- // predictate is wrong.
+ // AMLALE: The operator() are marked as `noexcept` as failing conditions within an evaluation (say a overloads operator==) proves that the
+ // predictate is wrong. Thus program state is undefined.
struct teller
{
- explicit teller() = default;
+ teller() = default;
virtual ~teller() = default;
template <class ObjFirst, class ObjLast>
@@ -151,4 +151,4 @@ namespace ocl
}
} // namespace ocl
-#endif /* ifndef __OCL_CORE_OPTION */ \ No newline at end of file
+#endif /* ifndef __OCL_CORE_OPTION */