StackOverflow Questions for Tag: explicit-conversion

Martin Horský
Martin Horský

Reputation: 205

GCC14 performes multiple implicit conversions instead of one matching explicit conversion

Score: 7

Views: 136

Answers: 2

Read More
MAX POWER
MAX POWER

Reputation: 5458

mysql datetime comparison

Score: 64

Views: 118451

Answers: 3

Read More
Shadi
Shadi

Reputation: 1771

In C++, can we use { } for C-Style casting?

Score: 13

Views: 2954

Answers: 3

Read More
alimadodo
alimadodo

Reputation: 13

Different Behavior for const int and int in C++ template

Score: 1

Views: 184

Answers: 1

Read More
Amirhossein Yari
Amirhossein Yari

Reputation: 2326

How to convert a List to another List with explicit conversion operator without using extension method?

Score: 3

Views: 6150

Answers: 1

Read More
Stavros Koureas
Stavros Koureas

Reputation: 1492

C# Object List Type Change based on condition

Score: 1

Views: 121

Answers: 1

Read More
Print Yo
Print Yo

Reputation: 1

What is the difference between implicit and explicit casting in Java?

Score: -1

Views: 1069

Answers: 2

Read More
Bent Rasmussen
Bent Rasmussen

Reputation: 5702

F# and explicit conversion in LINQ to XML

Score: 5

Views: 403

Answers: 2

Read More
Creative Learner
Creative Learner

Reputation: 23

Why explicit conversion from object to long (Unboxing) is not allowed in C#?

Score: 0

Views: 42

Answers: 0

Read More
Tyson Hilmer
Tyson Hilmer

Reputation: 771

explicit template instantiation of explicit operator bool

Score: 2

Views: 152

Answers: 1

Read More
Richard Fabian
Richard Fabian

Reputation: 697

Why is my explicit constructor creating this ambiguity for my conversion operator?

Score: 6

Views: 579

Answers: 1

Read More
mayaknife
mayaknife

Reputation: 302

How is 'if (x)' where 'x' is an instance of a class, not an implicit conversion?

Score: 1

Views: 106

Answers: 2

Read More
David Basarab
David Basarab

Reputation: 73351

How do I perform explicit operation casting from reflection?

Score: 15

Views: 7953

Answers: 5

Read More
user541686
user541686

Reputation: 210765

Are potentially dangerous implicit conversions with std::pair intentional? Is there a way to avoid them?

Score: 4

Views: 140

Answers: 2

Read More
Sanjeev
Sanjeev

Reputation: 125

Why can't we directly assign the address of a 2D array to a pointer?

Score: 0

Views: 204

Answers: 2

Read More
Sanjeev
Sanjeev

Reputation: 125

Why can't we directly assign arr to pointer to array

Score: 1

Views: 263

Answers: 2

Read More
Eldritch Conundrum
Eldritch Conundrum

Reputation: 8732

When should I define a (explicit or implicit) conversion operator in C#?

Score: 11

Views: 5320

Answers: 6

Read More
Nikhil
Nikhil

Reputation: 308

Why non const reference cannot be initialized to an object of different type?

Score: 0

Views: 541

Answers: 2

Read More
doer10195
doer10195

Reputation: 35

defining operator + for double and string data types in cpp

Score: 3

Views: 334

Answers: 1

Read More
Theo Niko
Theo Niko

Reputation: 27

Implicit conversion in c++ for between unsigned types of bit length ie uint8_t,uint16_t

Score: -1

Views: 1448

Answers: 1

Read More
PreviousPage 1Next