Skip to content

Refactoring upcast. - #1877

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_960081566
Open

Refactoring upcast.#1877
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_960081566

Conversation

@copybara-service

Copy link
Copy Markdown

Refactoring upcast.

This CL splits the Inherits trait into two traits, Inherits (with safe functions) and InheritsVirtual (with unsafe functions).
Crubit will generate InheritsVirtual trait for classes which are inheriting virtually from Base class (needs static_cast for converting to Base class).

This CL splits the `Inherits` trait into two traits, `Inherits` (with safe functions) and `InheritsVirtual` (with unsafe functions).
Crubit will generate `InheritsVirtual` trait for classes which are inheriting virtually from Base class (needs static_cast for converting to Base class).

PiperOrigin-RevId: 960081566
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.

0 participants