StackOverflow Questions for Tag: downcast

Albtzrly
Albtzrly

Reputation: 946

How to convert RefCell<Box<dyn std::io::Write>> to owned File?

Score: 1

Views: 43

Answers: 1

Read More
mrgou
mrgou

Reputation: 2510

pandas FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version

Score: 58

Views: 60272

Answers: 10

Read More
Eran
Eran

Reputation: 22030

Why can't static_cast be used to down-cast when virtual inheritance is involved?

Score: 54

Views: 25659

Answers: 6

Read More
MForystek
MForystek

Reputation: 33

Why in Java conditional expression the narrowing conversion of return type only occurs for final int and not for final short

Score: 3

Views: 91

Answers: 1

Read More
SharpAttempt
SharpAttempt

Reputation: 3

How to downcast back a non-generic base-class object to a generic derived-class object at runtime (generic type unknown at compile time)

Score: -2

Views: 88

Answers: 4

Read More
QLag
QLag

Reputation: 823

Swift function overriding Objective-C method

Score: 0

Views: 6814

Answers: 3

Read More
Raz Luvaton
Raz Luvaton

Reputation: 3790

Why can't I downcast generic wrapped in box in Rust

Score: 1

Views: 96

Answers: 0

Read More
user3369935
user3369935

Reputation: 63

Is downcast necessary if method is abstract?

Score: -1

Views: 457

Answers: 3

Read More
cyanide
cyanide

Reputation: 3964

Swift error while downcasting 'Any'

Score: 7

Views: 2481

Answers: 2

Read More
galaxied
galaxied

Reputation: 3

How to assign values to a base struct that aren't reset when downcasted as shared pointers

Score: 0

Views: 106

Answers: 1

Read More
JPH
JPH

Reputation: 1284

How do I downcast in python

Score: 14

Views: 23439

Answers: 4

Read More
A. Duff
A. Duff

Reputation: 4309

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

Score: 5

Views: 2099

Answers: 3

Read More
Jim Carroll
Jim Carroll

Reputation: 61

Is a static_cast from a base to derived class well-defined when both classes have the same layout?

Score: 2

Views: 101

Answers: 2

Read More
sHAILU
sHAILU

Reputation: 165

Downcasting/Upcasting error at compile time & runtime?

Score: 4

Views: 8968

Answers: 6

Read More
Alex Vergara
Alex Vergara

Reputation: 2248

Downcasting a type with a named lifetime parameter

Score: 0

Views: 76

Answers: 1

Read More
Rob Truxal
Rob Truxal

Reputation: 6438

What does it mean to "downcast" a numeric type in pandas?

Score: 5

Views: 2513

Answers: 1

Read More

Can reinterpret_cast be considered as an unsafe workaround when dynamic_cast is unavailable?

Score: 0

Views: 169

Answers: 2

Read More
quellenform
quellenform

Reputation: 160

CKEditor5: How to integrate a SVG sprite as a widget?

Score: 1

Views: 385

Answers: 1

Read More
Maddy.Shik
Maddy.Shik

Reputation: 6787

Is it possible to assign a base class object to a derived class reference with an explicit typecast?

Score: 120

Views: 164830

Answers: 33

Read More
sci9
sci9

Reputation: 776

Polars Downcast the Datatype without Precision Loss

Score: 1

Views: 223

Answers: 0

Read More
PreviousPage 1Next