Skip to content

Make the factory macro accept constructor arguments - #371

Merged
gennaroprota merged 1 commit into
developfrom
fix/factory-macro-accepts-constructor-arguments
Aug 7, 2026
Merged

Make the factory macro accept constructor arguments#371
gennaroprota merged 1 commit into
developfrom
fix/factory-macro-accepts-constructor-arguments

Conversation

@gennaroprota

Copy link
Copy Markdown
Collaborator

This removes a closing parenthesis which erroneously sat after the condition of BOOST_PP_IF instead of after its third argument, in the three places deciding whether a comma separates two constructor arguments.

Contextually, it also adds the includes for BOOST_PP_COMMA and BOOST_PP_EMPTY, which were missing.

Fixes #215.

This removes a closing parenthesis which erroneously sat after the
condition of `BOOST_PP_IF` instead of after its third argument, in the
three places deciding whether a comma separates two constructor
arguments.

Contextually, it also adds the includes for `BOOST_PP_COMMA` and
`BOOST_PP_EMPTY`, which were missing.

Fixes #215.
@gennaroprota
gennaroprota added this pull request to the merge queue Aug 7, 2026
Merged via the queue into develop with commit 04cf43e Aug 7, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug in factory.hpp?

1 participant