StackOverflow Questions for Tag: dynamic-cast

PlsHelp
PlsHelp

Reputation: 113

Check if an instance of base class is one of some derived classes

Score: 4

Views: 253

Answers: 6

Read More
Mathieu
Mathieu

Reputation: 324

cast between shared_ptr of different templates in conversion constructor

Score: -1

Views: 83

Answers: 0

Read More
Andrii Pyvovar
Andrii Pyvovar

Reputation: 193

macOS XCode 16 breaks dynamic_cast for `final` types, defined in shared library

Score: 4

Views: 197

Answers: 2

Read More
Albert
Albert

Reputation: 68110

How can I combine instanceof and cast in Java?

Score: 15

Views: 20904

Answers: 5

Read More
Bob John
Bob John

Reputation: 3878

How does dynamic_cast work?

Score: 31

Views: 23688

Answers: 4

Read More
ProMike
ProMike

Reputation: 129

Why upcasted variable use virtual function from derived class C++

Score: 1

Views: 73

Answers: 1

Read More
A. Duff
A. Duff

Reputation: 4309

dynamic cast to non-derived object in order to call a function works?

Score: 5

Views: 2094

Answers: 3

Read More
user1434287
user1434287

Reputation: 401

what is side-cast or cross-cast in Dynamic_cast in C++

Score: 9

Views: 9396

Answers: 2

Read More
Michael Thomas
Michael Thomas

Reputation: 503

What is qobject_cast?

Score: 35

Views: 48737

Answers: 2

Read More
rishu1992
rishu1992

Reputation: 1434

Error Custom TableViewCell : swift dynamic_cast class unconditional

Score: 0

Views: 479

Answers: 3

Read More
romain.bqt4
romain.bqt4

Reputation: 159

Dynamic cast a pointer to a child class unique pointer to pointer of parent class unique pointer

Score: 0

Views: 41

Answers: 0

Read More
nitin_cherian
nitin_cherian

Reputation: 6655

How to identify failed casts using dynamic_cast operator?

Score: 26

Views: 29822

Answers: 3

Read More
MOnsDaR
MOnsDaR

Reputation: 8654

Performance of dynamic_cast?

Score: 56

Views: 55470

Answers: 6

Read More
blueperfect
blueperfect

Reputation: 15

How to use dynamic_cast with an array of pointers to a subclass

Score: -2

Views: 142

Answers: 2

Read More
Ryan
Ryan

Reputation: 1

Pointer to subclass call correct virtual function

Score: 0

Views: 77

Answers: 1

Read More
cockatiel
cockatiel

Reputation: 95

When can static_cast be used safely for downcasting in C++?

Score: 2

Views: 258

Answers: 1

Read More
mg763
mg763

Reputation: 1

How to determine the type of something in a derived class?

Score: 0

Views: 135

Answers: 1

Read More
WilliamKF
WilliamKF

Reputation: 43079

Can I teach dynamic_cast<>() new tricks?

Score: 1

Views: 456

Answers: 1

Read More
jw_
jw_

Reputation: 1785

C++ dynamic_cast access violation

Score: 0

Views: 1122

Answers: 1

Read More
Viktor
Viktor

Reputation: 21

c++ dynamic_cast of template argument type variable

Score: 0

Views: 115

Answers: 3

Read More
PreviousPage 1Next