2
0
mirror of https://github.com/boostorg/hana.git synced 2026-01-20 16:42:13 +00:00

Generate struct_macros.hpp with 55 members by default

Fixes #493
This commit is contained in:
Louis Dionne
2021-10-29 13:24:19 -04:00
parent c6a43a26d4
commit e315075784
2 changed files with 964 additions and 39 deletions

File diff suppressed because one or more lines are too long

View File

@@ -8,7 +8,7 @@
export MAX_NUMBER_OF_MEMBERS=55; erb struct_macros.hpp.erb
'MAX_NUMBER_OF_MEMBERS' must be greater than 0. In case 'MAX_NUMBER_OF_MEMBERS'
is not specified, it defaults to 40. To regenerate the default struct macros,
is not specified, it defaults to 55. To regenerate the default struct macros,
issue the following command from the root of the project:
erb include/boost/hana/detail/struct_macros.hpp.erb > include/boost/hana/detail/struct_macros.hpp
@@ -17,7 +17,7 @@
%>
<%
MAX_NUMBER_OF_MEMBERS = (ENV["MAX_NUMBER_OF_MEMBERS"] || 40).to_i
MAX_NUMBER_OF_MEMBERS = (ENV["MAX_NUMBER_OF_MEMBERS"] || 55).to_i
raise "MAX_NUMBER_OF_MEMBERS must be > 0" if not MAX_NUMBER_OF_MEMBERS > 0
%>