Skip to content

Commit

Permalink
⬆️ v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-jusiak committed Jul 25, 2024
1 parent 9bf7c2f commit f1951ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reflect
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ reflect::for_each([&f](const auto I) {
> Configuration

```cpp
#define REFLECT 1'2'1 // Current library version (SemVer)
#define REFLECT 1'2'2 // Current library version (SemVer)
#define REFLECT_ENUM_MIN 0 // Min size for enum name (can be overridden)
// For example: `-DREFLECT_ENUM_MIN=-1`
#define REFLECT_ENUM_MAX 128 // Max size for enum name (can be overridden)
Expand Down Expand Up @@ -483,7 +483,7 @@ reflect::for_each([&f](const auto I) {
CPMAddPackage(
Name reflect
GITHUB_REPOSITORY boost-ext/reflect
GIT_TAG v1.2.1
GIT_TAG v1.2.2
)
add_library(reflect INTERFACE)
target_include_directories(reflect SYSTEM INTERFACE ${reflect_SOURCE_DIR})
Expand All @@ -499,7 +499,7 @@ reflect::for_each([&f](const auto I) {
<!--
#else
#ifndef REFLECT
#define REFLECT 1'2'1 // SemVer
#define REFLECT 1'2'2 // SemVer

#include <array>
#include <string_view>
Expand Down Expand Up @@ -527,7 +527,7 @@ template<> struct REFLECT_FWD_LIKE<true> { template<class T> using type = std::r
#define REFLECT_FWD_LIKE(T, ...) static_cast<typename ::REFLECT_FWD_LIKE<::std::is_lvalue_reference_v<T>>::template type<decltype(__VA_ARGS__)>>(__VA_ARGS__)
struct REFLECT_STRUCT { void* MEMBER; enum class ENUM { VALUE }; }; // has to be in the global namespace

namespace reflect::inline v1_2_1 {
namespace reflect::inline v1_2_2 {
namespace detail {
template<class T> extern const T ext{};
struct any { template<class T> operator T() const noexcept; };
Expand Down

0 comments on commit f1951ab

Please sign in to comment.