Skip to content

C++/WinRT -optimize fails to call through factory #891

@kennykerr

Description

@kennykerr

The -optimize flag causes a .g.cpp file to be generated that enables the projection to call directly into the implementation. However, it should be calling into the factory rather than the class to enable factory implementations to be used. The factory always forwards to the class (by default) so it would in no way prevent existing usage nor would it impact performance since it is all inlined.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions