mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 10:46:18 +08:00
Renamed flag for consistency
This commit is contained in:
@@ -12,7 +12,7 @@ inheritance altogether.
|
||||
Note that C arrays are not the same thing as `std::array`. `std::array` is always
|
||||
supported and is the recommended alternative.
|
||||
|
||||
If you want support for these, you will have to pass the flag `-D REFLECT_CPP_C_ARRAYS_OR_INHERITANCE`
|
||||
If you want support for these, you will have to pass the flag `-D REFLECTCPP_C_ARRAYS_OR_INHERITANCE`
|
||||
during compilation.
|
||||
|
||||
## C arrays
|
||||
|
||||
@@ -182,7 +182,7 @@ struct CountFieldsHelper {
|
||||
|
||||
static consteval std::size_t count_fields() {
|
||||
constexpr std::size_t max_agg_args = count_max_args_in_agg();
|
||||
#ifdef REFLECT_CPP_C_ARRAYS_OR_INHERITANCE
|
||||
#ifdef REFLECTCPP_C_ARRAYS_OR_INHERITANCE
|
||||
constexpr std::size_t no_brace_ellison_args =
|
||||
constructible_no_brace_elision<0, max_agg_args>();
|
||||
constexpr std::size_t base_args = base_param_num<no_brace_ellison_args>();
|
||||
|
||||
Reference in New Issue
Block a user