-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Area-TransformationIssues concerning Biohazrd transformationsIssues concerning Biohazrd transformationsConcept-InlineExpectationIssues concerning problems around C++'s expectation for something to be inlined.Issues concerning problems around C++'s expectation for something to be inlined.Concept-OutputFriendlinessIssues concerning the friendliness of using the Biohazrd outputIssues concerning the friendliness of using the Biohazrd output
Description
While adding a workaround for ocornut/imgui#3850 I stumbled upon an alternative solution for (potentially?) forcing inline methods to export. Turns out you can add __declspec(dllexport)
to a forward declaration and the members will be exported. (See here)
However, I did not test to see if this worked for inline methods.
I seem to recall trying this with inline functions and it didn't work, but this could potentially cut down on the noise in certain libraries.
Metadata
Metadata
Assignees
Labels
Area-TransformationIssues concerning Biohazrd transformationsIssues concerning Biohazrd transformationsConcept-InlineExpectationIssues concerning problems around C++'s expectation for something to be inlined.Issues concerning problems around C++'s expectation for something to be inlined.Concept-OutputFriendlinessIssues concerning the friendliness of using the Biohazrd outputIssues concerning the friendliness of using the Biohazrd output