Skip to content

Commit

Permalink
⬆️ v1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-jusiak committed Feb 29, 2024
1 parent 6cee9ca commit 34f04c4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ debug(f); // compile-time error: debug(foo) is not defined
> Configuration
```cpp
#define REFLECT 1'0'7 // Current library version (SemVer)
#define REFLECT 1'0'8 // Current library version (SemVer)
#define REFLECT_ENUM_MIN 0 // Min size for enum name
#define REFLECT_ENUM_MAX 64 // Max size for enum name
```
Expand Down Expand Up @@ -375,7 +375,7 @@ debug(f); // compile-time error: debug(foo) is not defined
CPMAddPackage(
Name reflect
GITHUB_REPOSITORY boost-ext/reflect
GIT_TAG v1.0.7
GIT_TAG v1.0.8
)
add_library(reflect INTERFACE)
target_include_directories(reflect SYSTEM INTERFACE ${reflect_SOURCE_DIR})
Expand Down
48 changes: 24 additions & 24 deletions reflect
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,52 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
#if !defined(__cpp_rvalue_references)
#error "[error][reflect-v1.0.7] __cpp_rvalue_references not supported!"
#error "[error][reflect-v1.0.8] __cpp_rvalue_references not supported!"
#elif !defined(__cpp_decltype)
#error "[error][reflect-v1.0.7] __cpp_decltype not supported!"
#error "[error][reflect-v1.0.8] __cpp_decltype not supported!"
#elif !defined(__cpp_decltype_auto)
#error "[error][reflect-v1.0.7] __cpp_decltype_auto not supported!"
#error "[error][reflect-v1.0.8] __cpp_decltype_auto not supported!"
#elif !defined(__cpp_return_type_deduction)
#error "[error][reflect-v1.0.7] __cpp_return_type_deduction not supported!"
#error "[error][reflect-v1.0.8] __cpp_return_type_deduction not supported!"
#elif !defined(__cpp_deduction_guides)
#error "[error][reflect-v1.0.7] __cpp_deduction_guides not supported!"
#error "[error][reflect-v1.0.8] __cpp_deduction_guides not supported!"
#elif !defined(__cpp_generic_lambdas)
#error "[error][reflect-v1.0.7] __cpp_generic_lambdas not supported!"
#error "[error][reflect-v1.0.8] __cpp_generic_lambdas not supported!"
#elif !defined(__cpp_constexpr)
#error "[error][reflect-v1.0.7] __cpp_constexpr not supported!"
#error "[error][reflect-v1.0.8] __cpp_constexpr not supported!"
#elif !defined(__cpp_if_constexpr)
#error "[error][reflect-v1.0.7] __cpp_if_constexpr not supported!"
#error "[error][reflect-v1.0.8] __cpp_if_constexpr not supported!"
#elif !defined(__cpp_alias_templates)
#error "[error][reflect-v1.0.7] __cpp_alias_templates not supported!"
#error "[error][reflect-v1.0.8] __cpp_alias_templates not supported!"
#elif !defined(__cpp_variadic_templates)
#error "[error][reflect-v1.0.7] __cpp_variadic_templates not supported!"
#error "[error][reflect-v1.0.8] __cpp_variadic_templates not supported!"
#elif !defined(__cpp_fold_expressions)
#error "[error][reflect-v1.0.7] __cpp_fold_expressions not supported!"
#error "[error][reflect-v1.0.8] __cpp_fold_expressions not supported!"
#elif !defined(__cpp_static_assert)
#error "[error][reflect-v1.0.7] __cpp_static_assert not supported!"
#error "[error][reflect-v1.0.8] __cpp_static_assert not supported!"
#elif !defined(__cpp_concepts)
#error "[error][reflect-v1.0.7] __cpp_concepts not supported!"
#error "[error][reflect-v1.0.8] __cpp_concepts not supported!"
#elif !defined(__cpp_fold_expressions)
#error "[error][reflect-v1.0.7] __cpp_fold_expressions not supported!"
#error "[error][reflect-v1.0.8] __cpp_fold_expressions not supported!"
#elif !defined(__cpp_generic_lambdas)
#error "[error][reflect-v1.0.7] __cpp_generic_lambdas not supported!"
#error "[error][reflect-v1.0.8] __cpp_generic_lambdas not supported!"
#elif !defined(__cpp_nontype_template_args)
#error "[error][reflect-v1.0.7] __cpp_nontype_template_args not supported!"
#error "[error][reflect-v1.0.8] __cpp_nontype_template_args not supported!"
#elif !defined(__cpp_nontype_template_parameter_auto)
#error "[error][reflect-v1.0.7] __cpp_nontype_template_parameter_auto not supported!"
#error "[error][reflect-v1.0.8] __cpp_nontype_template_parameter_auto not supported!"
#elif !__has_include(<array>)
#error "[error][reflect-v1.0.7] <array> not found!"
#error "[error][reflect-v1.0.8] <array> not found!"
#elif !__has_include(<string_view>)
#error "[error][reflect-v1.0.7] <string_view> not found!"
#error "[error][reflect-v1.0.8] <string_view> not found!"
#elif !__has_include(<source_location>)
#error "[error][reflect-v1.0.7] <source_location> not found!"
#error "[error][reflect-v1.0.8] <source_location> not found!"
#elif !__has_include(<type_traits>)
#error "[error][reflect-v1.0.7] <type_traits> not found!"
#error "[error][reflect-v1.0.8] <type_traits> not found!"
#elif !__has_include(<tuple>)
#error "[error][reflect-v1.0.7] <tuple> not found!"
#error "[error][reflect-v1.0.8] <tuple> not found!"
#else
#ifndef REFLECT
#define REFLECT 1'0'7 // SemVer
#define REFLECT 1'0'8 // SemVer

#include <array>
#include <string_view>
Expand Down Expand Up @@ -79,7 +79,7 @@ struct REFLECT_STRUCT { void* MEMBER; enum class ENUM { VALUE }; }; // has to b
/**
* Minimal static reflection library ($CXX -x c++ -std=c++20 -c reflect) [https://godbolt.org/z/dd6cfW98c]
*/
namespace reflect::inline v1_0_7 {
namespace reflect::inline v1_0_8 {
namespace detail {
template<class T> extern const T ext{};
struct any { template<class T> constexpr operator T() const noexcept; };
Expand Down

0 comments on commit 34f04c4

Please sign in to comment.