Skip to content

[FUNCTION_RESOLVER] Fix issue that instantiated unused wrapper type#55

Open
TheRedDaemon wants to merge 1 commit intomainfrom
bugfix/fix-unused-wrapper-type-instantiation
Open

[FUNCTION_RESOLVER] Fix issue that instantiated unused wrapper type#55
TheRedDaemon wants to merge 1 commit intomainfrom
bugfix/fix-unused-wrapper-type-instantiation

Conversation

@TheRedDaemon
Copy link
Copy Markdown
Contributor

@TheRedDaemon TheRedDaemon commented May 3, 2026

Related to #28 , but I would not necessarily close it yet, since there would also be the question where those print definitions should be stored. I would be for some sub-folder of core.

Anyway, due to the typedefs directly nested inside the Resolver, the wrapper of the function was always initiated, even if no wrapper was requested. This would require printers for all types and would likely add to the compile time.

Through the changes, the wrapper is only instantiated if it is really needed. And only then, the need to handle unknown types to print arises.

@TheRedDaemon TheRedDaemon requested a review from gynt May 3, 2026 14:17
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.

1 participant