-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for polymorphic types that use destroying delete instead …
…of a virtual destructor. The change makes types with an `operator delete(..., std::destroying_delete_t)` to be handled the same way abstract classes are handled (ie with unique_ptr), allowing subclasses to be constructed during marshalling. Tested: Presubmit TGP with custom binary (rerun) OCL:633257130:BASE:634387810:1715870484576:3c4e7d32 PiperOrigin-RevId: 634394623
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters