Skip to content

Commit

Permalink
Update feature_test.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenberry committed Sep 26, 2024
1 parent e335826 commit d450d83
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions include/glaze/core/feature_test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@
#pragma once

// Feature test macros
#define glaze_v3_5_to_from // v3.5.0 specialized to/from
#define glaze_v3_6_reflect // v3.6.0 reflect metadata

// v3.5.0 change glz::detail::to_json and glz::detail::from_json specializations
// to glz::detail::to<JSON and glz::detail::from<JSON
// The template specialization take in a uint32_t Format as the first template parameter
#define glaze_v3_5_to_from

// v3.6.0 renames glz::refl to glz::reflect and does not instantiate the struct as an
// inline constexpr variable
#define glaze_v3_6_reflect

0 comments on commit d450d83

Please sign in to comment.