SpiceQA
Questions
Tags
Users
Badges
dynamic-cast
28 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How can I use dynamic_cast to get objects with a user-specified type?
user_8434591
0
•
asked Sep 21, 2022
1
2
58
dynamic-cast
c++
C++ const_cast over a dynamic_cast and vice versa
user_18064197
0
•
asked Jan 29, 2022
2
1
133
const-cast
dynamic-cast
c++11
c++
Why is only static_cast able to return new object of requested type?
user_14934019
0
•
asked Dec 18, 2021
3
3
210
reinterpret-cast
const-cast
static-cast
dynamic-cast
c++
Why is RTTI bad? (dynamic_cast <-> qobject_cast)
user_6695880
0
•
asked Dec 1, 2021
2
0
185
rtti
dynamic-cast
qt
c++
Automatic selection between static_cast and dynamic_cast for best performance
user_7325599
0
•
asked Jun 18, 2021
2
1
148
virtual-inheritance
static-cast
dynamic-cast
c++
Dynamically cast to function argument type (C++)
Admin
1
•
asked Apr 19, 2021
2
4
135
dynamic-cast
c++11
templates
casting
c++
Dynamic cast specification (rule) clarification
user_14971811
0
•
asked Apr 8, 2021
5
1
105
dynamic-cast
casting
c++
When is dynamic_cast from parent to child useful in practice? Is this always a bad practice?
user_3742309
0
•
asked Jan 11, 2021
4
2
200
rtti
dynamic-cast
polymorphism
c++
How to properly use "C++ Core Guidelines: C.146: Use dynamic_cast where class hierarchy navigation is unavoidable"
user_12750911
0
•
asked Aug 21, 2020
6
4
784
cpp-core-guidelines
static-polymorphism
dynamic-cast
polymorphism
c++
Is the visitor pattern a better option than controlled use of RTTI?
user_13582042
0
•
asked May 21, 2020
2
1
377
multiple-dispatch
c++17
visitor-pattern
dynamic-cast
c++
1
(current)
2
3
Next
Next
Hot Questions