From a6fac0b493adadec958c7c0b0da59720e8840857 Mon Sep 17 00:00:00 2001 From: mguludag Date: Sat, 29 Jun 2024 12:17:19 +0000 Subject: [PATCH] deploy: 4bf3f45863c96fff6007fb8f097393f89a9e2245 --- git-main/enum__name__impl_8hpp_source.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/git-main/enum__name__impl_8hpp_source.html b/git-main/enum__name__impl_8hpp_source.html index 9971c6c..5932921 100644 --- a/git-main/enum__name__impl_8hpp_source.html +++ b/git-main/enum__name__impl_8hpp_source.html @@ -119,8 +119,8 @@
22SOFTWARE.
23*/
24
-
25#ifndef DETAIL_ENUM_NAME_IMPL_HPP
-
26#define DETAIL_ENUM_NAME_IMPL_HPP
+
25#ifndef MGUTILITY_REFLECTION_DETAIL_ENUM_NAME_IMPL_HPP
+
26#define MGUTILITY_REFLECTION_DETAIL_ENUM_NAME_IMPL_HPP
27
28#include "enum_for_each.hpp"
29#include "mgutility/std/optional.hpp"
@@ -219,7 +219,7 @@
179template <typename Enum, int Min, int Max>
180MGUTILITY_CNSTXPR inline auto to_enum_impl(mgutility::string_view str) noexcept
181 -> mgutility::optional<Enum> {
-
182 MGUTILITY_CNSTXPR auto arr = get_enum_array<Enum, Min, Max>();
+
182 MGUTILITY_CNSTXPR_CLANG_WA auto arr = get_enum_array<Enum, Min, Max>();
183 const auto index{std::find(arr.begin() + 1, arr.end(), str)};
184 return index == arr.end() ? mgutility::nullopt
185 : mgutility::optional<Enum>{static_cast<Enum>(
@@ -314,7 +314,7 @@
302} // namespace detail
303} // namespace mgutility
304
-
305#endif // DETAIL_ENUM_NAME_IMPL_HPP
+
305#endif // MGUTILITY_REFLECTION_DETAIL_ENUM_NAME_IMPL_HPP
A basic string view class template.
Definition string_view.hpp:57
A class template that provides optional (nullable) objects.
Definition optional.hpp:60
#define MGUTILITY_CNSTXPR_CLANG_WA
Defines the MGUTILITY_CNSTXPR macro based on the C++ standard.
Definition definitions.hpp:70