Skip to content

Commit

Permalink
⬆️ v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-jusiak committed Mar 26, 2024
1 parent 9137a66 commit f51ad35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ reflect::for_each([&f](const auto I) {
> Configuration
```cpp
#define REFLECT 1'1'0 // Current library version (SemVer)
#define REFLECT 1'1'1 // Current library version (SemVer)
#define REFLECT_ENUM_MIN -1 // Min size for enum name (can be overridden)
// For example: `-DREFLECT_ENUM_MIN=0`
#define REFLECT_ENUM_MAX 1024 // Max size for enum name (can be overridden)
Expand Down Expand Up @@ -473,7 +473,7 @@ reflect::for_each([&f](const auto I) {
CPMAddPackage(
Name reflect
GITHUB_REPOSITORY boost-ext/reflect
GIT_TAG v1.1.0
GIT_TAG v1.1.1
)
add_library(reflect INTERFACE)
target_include_directories(reflect SYSTEM INTERFACE ${reflect_SOURCE_DIR})
Expand Down
6 changes: 3 additions & 3 deletions reflect
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#error "[error][reflect] <tuple> not found!"
#else
#ifndef REFLECT
#define REFLECT 1'1'0 // SemVer
#define REFLECT 1'1'1 // SemVer

#include <array>
#include <string_view>
Expand Down Expand Up @@ -82,7 +82,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/M747ocGfx]
*/
namespace reflect::inline v1_1_0 {
namespace reflect::inline v1_1_1 {
namespace detail {
template<class T> extern const T ext{};
struct any { template<class T> constexpr operator T() const noexcept; };
Expand Down Expand Up @@ -523,7 +523,7 @@ struct mp::detail::meta_info<B(R,I)> {
#endif

#if defined(MP)
namespace reflect::inline v1_1_0 {
namespace reflect::inline v1_1_1 {
template<class T>
[[nodiscard]] constexpr auto reflect(T&& t) {
return []<mp::size_t... Ns>(mp::utility::index_sequence<Ns...>) {
Expand Down

0 comments on commit f51ad35

Please sign in to comment.