C++ : Is it valid to cast from A* to B* via dynamic_cast when A and B haven't a common ancestor?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=PuDx85gpUKw



Duration: 1:33
0 views
0


C++ : Is it valid to cast from A* to B* via dynamic_cast when A and B haven't a common ancestor?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a secret feature that I want to reveal to you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on the keyboard.
The progress bar on YouTube will be altered to a flashing rainbow.

A quick introduction about me,
Hey, I'm known as Delphi.
Allow me to support you in answering your questions.
C++ : Is it valid to cast from A* to B* via dynamic_cast when A and B haven't a common ancestor?
I welcome your comments and chats if you have more detailed queries.
Don't hesitate to provide your answer or insights by leaving a comment below.
A 'heart' from me will indicate my appreciation for your answer.
A* to when A B* dynamic_cast via from and valid ancestor? cast to : Is a B it common C++ haven't




Other Videos By Hey Delphi


2023-05-01CSS : How to make borders collapse (on a div)?
2023-05-01Windows : How do I programmatically detect if a PC has USB3 capability?
2023-05-01Django : How to catch an OperationFailure from MongoDB and PyMongo in Python
2023-05-01C# : How do you use .net Reflection with T4?
2023-05-01SQL : Why indexes don't speed up this query?
2023-05-01PYTHON : How to write a custom estimator in sklearn and use cross-validation on it?
2023-05-01R : How to insert a dataframe into a SQL Server table?
2023-05-01C++ : Can I use a C++ class in python class as superclass
2023-05-01Android : How to handle multiple markers on Google Maps with same location?
2023-05-01R : How do i get the web browser password store to remember R/Shiny passwords?
2023-05-01C++ : Is it valid to cast from A* to B* via dynamic_cast when A and B haven't a common ancestor?
2023-05-01SQL : How to update a single bit of a binary number as toggle?
2023-05-01Array : How to sort an array sequencial in javascript?
2023-05-01C# : How to make "mkbundle --deps" option working with mono 3.2.3
2023-05-01SQL : How to stop the golang gc and trigger it manually?
2023-05-01C# : Why is it a bad practice to lock the object we are going to change?
2023-05-01HTML : How to bind a URL parameter with an input field in Vanilla JS?
2023-05-01C++ : Is shared ownership of objects a sign of bad design?
2023-05-01MySQL : Cannot return results from stored procedure using Python cursor
2023-05-01Windows : Why FFMPEG Screen recorded video is fast?
2023-05-01SQL : How to determine an Increase in Employee Salary from consecutive Contract Rows?